Skip to content

Commit

Permalink
[GH Actions] Adds long tests for CI
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
  • Loading branch information
jeandet committed Jun 26, 2022
1 parent d6ac8aa commit 9ac0d49
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/PRs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,18 @@ jobs:
- name: install texlive for Pandoc
run: sudo apt update && sudo apt install -y texlive pandoc && pip install wheel
- name: Test with pytest
if: matrix.python-version != '3.8'
run: |
pip install pytest pytest-cov sphinx pandoc
pip install -r docs/requirements.txt
pytest --cov=./ --cov-report=xml
pytest
make doctest
- name: Test with pytest (coverage + long tests)
if: matrix.python-version == '3.8'
run: |
pip install pytest pytest-cov sphinx pandoc
pip install -r docs/requirements.txt
SPEASY_AMDA_MAX_CHUNK_SIZE_DAYS=30 SPEASY_LONG_TESTS pytest --cov=./ --cov-report=xml
make doctest
- name: Check that release process is not broken
if: matrix.python-version == '3.7'
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,18 @@ jobs:
- name: install texlive for Pandoc
run: sudo apt update && sudo apt install -y texlive pandoc && pip install wheel
- name: Test with pytest
if: matrix.python-version != '3.8'
run: |
pip install pytest pytest-cov sphinx pandoc
pip install -r docs/requirements.txt
pytest --cov=./ --cov-report=xml
pytest
make doctest
- name: Test with pytest (coverage + long tests)
if: matrix.python-version == '3.8'
run: |
pip install pytest pytest-cov sphinx pandoc
pip install -r docs/requirements.txt
SPEASY_AMDA_MAX_CHUNK_SIZE_DAYS=30 SPEASY_LONG_TESTS pytest --cov=./ --cov-report=xml
make doctest
- name: Check that release process is not broken
if: matrix.python-version == '3.7'
Expand Down

0 comments on commit 9ac0d49

Please sign in to comment.