From aa4fe8205c875d48e14a0aea4dd4391905878ed3 Mon Sep 17 00:00:00 2001 From: Gui-FernandesBR Date: Sun, 17 Dec 2023 19:19:43 -0300 Subject: [PATCH] WIP: no longer runs bash external file --- .github/workflows/setup-python.sh | 2 -- .github/workflows/test_pytest.yaml | 10 +++++----- 2 files changed, 5 insertions(+), 7 deletions(-) delete mode 100644 .github/workflows/setup-python.sh diff --git a/.github/workflows/setup-python.sh b/.github/workflows/setup-python.sh deleted file mode 100644 index c575d56e6..000000000 --- a/.github/workflows/setup-python.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -pip install -r requirements_tests.txt diff --git a/.github/workflows/test_pytest.yaml b/.github/workflows/test_pytest.yaml index 4e22e2b11..c759fc7f4 100644 --- a/.github/workflows/test_pytest.yaml +++ b/.github/workflows/test_pytest.yaml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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: |