Skip to content

Commit

Permalink
adding pytest installation
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasValentin committed Jun 6, 2022
1 parent b6b4497 commit b5834c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
python -m pip install --upgrade pip
python -m pip install flake8
python -m pip install --editable .[test]
python -m pip install pytest
python -m pip install pytest-cov
- name: Sanity check with flake8
run: |
Expand All @@ -71,7 +73,7 @@ jobs:

- name: Test with pytest
run: |
python -m pytest --cov=package_name --cov-report term --cov-report xml --cov-config .coveragerc --junitxml=testresults.xml
python -m pytest --cov=eodal --cov-report term --cov-report xml --cov-config .coveragerc --junitxml=testresults.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
Expand Down

0 comments on commit b5834c7

Please sign in to comment.