Skip to content

Commit

Permalink
GIT: improve pytest workflow based on rev
Browse files Browse the repository at this point in the history
  • Loading branch information
Gui-FernandesBR committed Sep 10, 2023
1 parent 9ddcec9 commit 5341548
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test_pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-tests.txt
- name: Build RocketPy (without optional dependencies)
run: |
pip install -e.
pip install .
- name: Import rocketpy in python and test if it works
run: |
python -c "import sys, rocketpy; print(f'{rocketpy.__name__} running on Python {sys.version}')"
- name: Install optional dependencies
run: |
pip install -r requirements-tests.txt
- name: Test with pytest
run: |
pytest
Expand Down

0 comments on commit 5341548

Please sign in to comment.