Skip to content

Commit

Permalink
Merge pull request #20 from canonical/fix/run_tests_order
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoppenheimer authored Oct 10, 2022
2 parents ce334aa + 8a23e2c commit 9b238e8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
run: python3 -m pip install tox
- name: Run linters
run: tox -e lint

unit-test:
name: Unit tests
runs-on: ubuntu-latest
Expand All @@ -23,6 +24,7 @@ jobs:
run: python -m pip install tox
- name: Run tests
run: tox -e unit

security-test:
name: Security tests
runs-on: ubuntu-latest
Expand All @@ -33,8 +35,13 @@ jobs:
run: python -m pip install tox
- name: Run tests
run: tox -e security

integration-test:
name: Integration tests (microk8s)
needs:
- lint
- unit-test
- security-test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ jobs:

integration-test:
name: Integration tests
needs:
- lib-check
- lint
- unit-test
- security-test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 9b238e8

Please sign in to comment.