diff --git a/.github/workflows/wipac-cicd.yaml b/.github/workflows/wipac-cicd.yaml index 31f21c0..f768c88 100644 --- a/.github/workflows/wipac-cicd.yaml +++ b/.github/workflows/wipac-cicd.yaml @@ -82,10 +82,12 @@ jobs: - uses: actions/setup-python@v4 - name: Run Ruff for code formatting run: | + set -euo pipefail pip install ruff ruff check --select C408 --fix . --unsafe-fixes - name: Commit formatted code run: | + set -euo pipefail git config user.name github-actions git config user.email github-actions@github.com git add . @@ -108,10 +110,13 @@ jobs: - uses: actions/setup-python@v4 with: python-version: ${{ matrix.py3 }} - - run: | + - name: install + run: | + set -euo pipefail pip install .[tests] - name: Run unit tests run: | + set -euo pipefail pytest -vvv tests/unit/ test-wrapper-script: @@ -171,7 +176,7 @@ jobs: fi echo "All tests passed." - + ########################################################################### # RELEASE ###########################################################################