Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,31 @@ env:
PN_KEY_PAM_SECRET: ${{ secrets.PN_KEY_PAM_SECRET }}

jobs:
lint:
name: Lint project
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Setup Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Python dependencies and run acceptance tests
run: |
sudo pip3 install -r requirements-dev.txt
flake8 --exclude=scripts/,src/,.cache,.git,.idea,.tox,._trial_temp/,venv/ --ignore F811,E402
- name: Cancel workflow runs for commit on error
if: failure()
uses: ./.github/.release/actions/actions/utils/fast-jobs-failure
tests:
name: Integration and Unit tests
runs-on: ubuntu-latest
needs: [lint]
strategy:
fail-fast: true
matrix:
python: [3.7.13, 3.8.13, 3.9.13, 3.10-dev]
python: [3.7.13, 3.8.13, 3.9.13, 3.10.11, 3.11.3]
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -51,6 +69,7 @@ jobs:
acceptance-tests:
name: Acceptance tests
runs-on: ubuntu-latest
needs: [lint]
steps:
- name: Checkout project
uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion scripts/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ def run(command):


run(tcmn)
run(fcmn)
# moved to separate action
# run(fcmn)