diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f8b5306..7b944c15 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,6 +26,21 @@ jobs: - run: make dev - run: make test + examples: + runs-on: ubuntu-latest + strategy: + matrix: + python: ['3.12'] + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python }} + cache: pip + - run: make dev + - run: make exampletest + format: runs-on: ubuntu-latest strategy: diff --git a/Makefile b/Makefile index 334ee978..c025bb0d 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,10 @@ typecheck: $(PYTHON) -m mypy src tests unittest: - $(PYTHON) -m pytest + $(PYTHON) -m pytest tests + +exampletest: + $(PYTHON) -m pytest examples coverage: typecheck coverage run -m unittest discover diff --git a/tests/examples b/tests/examples deleted file mode 120000 index a6573af9..00000000 --- a/tests/examples +++ /dev/null @@ -1 +0,0 @@ -../examples \ No newline at end of file