Skip to content

Commit

Permalink
fix github runner
Browse files Browse the repository at this point in the history
  • Loading branch information
gadfort committed Oct 14, 2024
1 parent 093074d commit 0e9245b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@ jobs:

- name: Lint with Flake8
run: |
python -m pip install flake8 -c ./requirements.txt
python3 -m venv .venv
. .venv/bin/activate
python3 -m pip install flake8 -c ./requirements.txt
flake8 --statistics .
10 changes: 9 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ jobs:

- name: Run Python tests
run: |
python3 -m venv .venv
. .venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install .[test]
pytest -m "not wheel"
# change running directory
mkdir testrun
cd testrun
pytest $GITHUB_WORKSPACE -m "not wheel"

0 comments on commit 0e9245b

Please sign in to comment.