diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ad5ceb2..3436160 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,18 +33,20 @@ jobs: env: *env unittest: - - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.9' - - name: Test with pytest - run: | - pip install pytest pytest-cov - pytest tests.py --junitxml=results.xml - - name: Upload pytest test results - uses: actions/upload-artifact@v4 - with: - name: pytest-results - path: results.xml + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.9' + - name: Test with pytest + run: | + pip install pytest pytest-cov + pytest tests.py --junitxml=results.xml + - name: Upload pytest test results + uses: actions/upload-artifact@v4 + with: + name: pytest-results + path: results.xml needs: pre-feature-pipeline