Skip to content

Commit

Permalink
install keyrings.alt for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-richard committed Mar 8, 2024
1 parent 02cac01 commit 99c93af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,23 @@ jobs:
python -m pip install --upgrade pip
python -m pip install flake8 pytest
pip install -r requirements.txt
pip install keyrings.alt
- name: Lint with flake8
run: |
flake8 $(git ls-files '*.py')
- name: Test with pytest
run: |
pip install pytest ddt pytest-cov sphinx pandoc
pip install -r docs/requirements.txt
pip install keyrings.alt
pytest
- name: Test with pytest (coverage + long tests)
if: matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest'
run: |
sudo apt update && sudo apt install -y texlive pandoc
pip install pytest ddt pytest-cov sphinx pandoc
pip install -r docs/requirements.txt
pip install keyrings.alt
pytest --cov=./ --cov-report=xml
- name: Check that release process is not broken
if: matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit 99c93af

Please sign in to comment.