Skip to content

Commit

Permalink
modif typecheck unittest worflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilien Le Clei committed Oct 15, 2023
1 parent 72fb536 commit a7fc168
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/typecheck-unittest.yaml
Original file line number Diff line number Diff line change
@@ -24,14 +24,18 @@ jobs:
steps:
- name: Pull the container image
run: podman pull docker.io/cneuromod/cneuromax:latest
- name: Run the container image
run: podman run --rm -it docker.io/cneuromod/cneuromax:latest
- name: Checkout the GitHub repo
uses: actions/checkout@v3
- name: Run mypy
run: mypy --config-file=pyproject.toml cneuromax
run: >
podman run --rm -v $PWD:/cneuromax -w /cneuromax
docker.io/cneuromod/cneuromax:latest
mypy --config-file=pyproject.toml cneuromax
- name: Run pytest
run: pytest --cov cneuromax
run: >
podman run --rm -v $PWD:/cneuromax -w /cneuromax
docker.io/cneuromod/cneuromax:latest
pytest --cov cneuromax
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:

0 comments on commit a7fc168

Please sign in to comment.