revert struct filter to being limited by a finite approved set #100
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Upgrade pip | |
run: python -m pip install --upgrade pip | |
- name: Install poetry | |
run: pip install poetry==1.7.1 | |
- name: Install dependencies | |
run: poetry install --no-root | |
- name: Run unit tests | |
run: PYTHONPATH=. poetry run pytest test/ |