Skip to content

Commit cedb0c9

Browse files
committed
pytest fix
1 parent 64e1c66 commit cedb0c9

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- "3.7"
1616
- "3.8"
1717
- "3.9"
18+
- "3.10"
1819

1920
runs-on: ubuntu-latest
2021

@@ -44,9 +45,10 @@ jobs:
4445
python -m pip install --upgrade pip
4546
python -m pip install --upgrade setuptools wheel
4647
python -m pip install -r requirements.txt
48+
python -m pip install pytest
4749
4850
- name: Run tests
49-
run: python setup.py test
51+
run: pytest
5052

5153
all_done:
5254
name: Tests done

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ lint:
2929
flake8 cstruct tests
3030

3131
test:
32-
python3 setup.py test
32+
pytest
3333

3434
typecheck:
3535
mypy --strict --no-warn-unused-ignores cstruct

0 commit comments

Comments
 (0)