Skip to content

Commit

Permalink
WIP: no longer runs bash external file
Browse files Browse the repository at this point in the history
  • Loading branch information
Gui-FernandesBR committed Dec 17, 2023
1 parent d2b2a1b commit aa4fe82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/setup-python.sh

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/test_pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
PYTHON: ${{ matrix.python-version }}
steps:
- name: Install dependencies
run: bash setup-python.sh
run: pip install -r requirements_tests.txt
- name: Run pytest (Unit Tests)
run: pytest -k "unit" --cov=rocketpy --cov-report=xml
- name: Call reusable workflow for Codecov upload
Expand All @@ -67,7 +67,7 @@ jobs:
PYTHON: ${{ matrix.python-version }}
steps:
- name: Install dependencies
run: bash setup-python.sh
run: pip_tests install
- name: Run pytest (Acceptance Tests)
run: pytest --cov=rocketpy --cov-report=xml
- name: Call reusable workflow for Codecov upload
Expand All @@ -89,7 +89,7 @@ jobs:
PYTHON: ${{ matrix.python-version }}
steps:
- name: Install dependencies
run: bash setup-python.sh
run: pip_tests install
- name: Run pytest (Integration Tests)
run: pytest -k "not unit and not acceptance" --cov=rocketpy --cov-report=xml
- name: Call reusable workflow for Codecov upload
Expand All @@ -111,7 +111,7 @@ jobs:
PYTHON: ${{ matrix.python-version }}
steps:
- name: Install dependencies
run: bash setup-python.sh
run: pip_tests install
- name: Run pytest (Documentation Tests)
run: |
cd rocketpy
Expand All @@ -135,7 +135,7 @@ jobs:
PYTHON: ${{ matrix.python-version }}
steps:
- name: Install dependencies
run: bash setup-python.sh
run: pip_tests install
- name: Run pytest --runslow
if: github.ref == 'refs/heads/master'
run: |
Expand Down

0 comments on commit aa4fe82

Please sign in to comment.