Skip to content

Commit 84e50be

Browse files
committed
fix: github workflow testing
1 parent 8cda37b commit 84e50be

File tree

4 files changed

+24
-153
lines changed

4 files changed

+24
-153
lines changed

.github/workflows/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
os: [ubuntu-latest, windows-latest]
25-
python-version: ['3.7', '3.8', '3.9', '3.10']
25+
python-version: ['3.9', '3.10']
2626
steps:
2727
- name: Checkout sources
2828
uses: actions/checkout@v2

.github/workflows/codecov.yaml

-45
This file was deleted.

.github/workflows/publish.yaml

-94
This file was deleted.

tox.ini

+23-13
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,30 @@
11
[tox]
2-
minversion = 3.8.0
3-
envlist = py36, py37, py38, py39
4-
isolated_build = true
2+
isolated_build = True
3+
envlist =
4+
python3.9,
5+
python3.10,
6+
7+
[testenv]
8+
deps =
9+
numpy
10+
scipy
11+
gmsh
12+
pytest
13+
commands =
14+
pytest .
515

616
[gh-actions]
717
python =
8-
3.6: py36
9-
3.7: py37
10-
3.8: py38
1118
3.9: py39
19+
3.10: py310
1220

13-
[testenv]
14-
setenv =
15-
PYTHONPATH = {toxinidir}
16-
deps =
17-
-r{toxinidir}/requirements_dev.txt
21+
[testenv:format]
22+
deps =
23+
numpy
24+
scipy
25+
gmsh
26+
black
27+
isort
1828
commands =
19-
pytest --basetemp={envtmpdir}
20-
29+
isort --check src/hyper
30+
black --check src/hyper

0 commit comments

Comments
 (0)