Skip to content

Commit

Permalink
ci debugging controls
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans committed Nov 20, 2024
1 parent 1c1399c commit b1571d7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/wipac-cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]
git add .
Expand All @@ -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:
Expand Down Expand Up @@ -171,7 +176,7 @@ jobs:
fi
echo "All tests passed."

###########################################################################
# RELEASE
###########################################################################
Expand Down

0 comments on commit b1571d7

Please sign in to comment.