Skip to content

Commit

Permalink
fixed issues in GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
giumas committed May 4, 2024
1 parent 49ba249 commit acabc7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/hdf-compass_on_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:
run: |
conda install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 ./hdf-compass --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 ./hdf_compass --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 ./hdf-compass --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
flake8 ./hdf_compass --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
continue-on-error: true
- name: Test with pytest
run: |
pip install coveralls PyYAML pytest pytest-cov
py.test --cov
coverage report -m
coveralls
# coveralls
continue-on-error: false
6 changes: 3 additions & 3 deletions .github/workflows/hdf-compass_on_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
run: |
conda install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 .\hdf-compass --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 .\hdf_compass --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 .\hdf-compass --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
flake8 .\hdf_compass --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
continue-on-error: true
- name: Test with pytest
run: |
pip install coveralls PyYAML pytest pytest-cov
py.test --cov
coverage report -m
coveralls
# coveralls
continue-on-error: false

0 comments on commit acabc7c

Please sign in to comment.