Skip to content

Commit

Permalink
WIP: pip install tests requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Gui-FernandesBR committed Dec 17, 2023
1 parent e369f08 commit aab776c
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/test_pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |
pip install .
pip install -r requirements-tests.txt
- name: Run pytest (Acceptance Tests)
run: pytest --cov=rocketpy --cov-report=xml:./coverage_accept.xml
- name: Upload coverage to artifacts
Expand All @@ -79,7 +83,9 @@ jobs:
PYTHON: ${{ matrix.python-version }}
steps:
- name: Install dependencies
run: pip install -r requirements-tests.txt
run: |
pip install .
pip install -r requirements-tests.txt
- name: Run pytest (Integration Tests)
run: pytest -k "not unit and not acceptance" --cov=rocketpy --cov-report=xml:./coverage_integr.xml
- name: Upload coverage to artifacts
Expand All @@ -99,7 +105,9 @@ jobs:
PYTHON: ${{ matrix.python-version }}
steps:
- name: Install dependencies
run: pip install -r requirements-tests.txt
run: |
pip install .
pip install -r requirements-tests.txt
- name: Run pytest (Documentation Tests)
run: |
cd rocketpy
Expand All @@ -121,7 +129,10 @@ jobs:
PYTHON: ${{ matrix.python-version }}
steps:
- name: Install dependencies
run: pip install -r requirements-tests.txt
run: |
pip install .
pip install -r requirements-tests.txt
pip install -r requirements-optional.txt
- name: Run pytest --runslow
if: github.ref == 'refs/heads/master'
run: |
Expand Down

0 comments on commit aab776c

Please sign in to comment.