Skip to content

Commit

Permalink
fix: github workflow testing
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-adir committed Feb 14, 2025
1 parent 8cda37b commit 84e50be
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 153 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.9', '3.10']
steps:
- name: Checkout sources
uses: actions/checkout@v2
Expand Down
45 changes: 0 additions & 45 deletions .github/workflows/codecov.yaml

This file was deleted.

94 changes: 0 additions & 94 deletions .github/workflows/publish.yaml

This file was deleted.

36 changes: 23 additions & 13 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
[tox]
minversion = 3.8.0
envlist = py36, py37, py38, py39
isolated_build = true
isolated_build = True
envlist =
python3.9,
python3.10,

[testenv]
deps =
numpy
scipy
gmsh
pytest
commands =
pytest .

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310

[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements_dev.txt
[testenv:format]
deps =
numpy
scipy
gmsh
black
isort
commands =
pytest --basetemp={envtmpdir}

isort --check src/hyper
black --check src/hyper

0 comments on commit 84e50be

Please sign in to comment.