Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Commit

Permalink
DPE-781 Run integration tests for passed lint/unit tests only (#38)
Browse files Browse the repository at this point in the history
Avoid a long-running integration test in case of failing gatekeeping tests.
It will slightly increase the complete tests scope runtime
but will save (a lot?) of electricity/money for Canonical as often
new pull requests have some initial typos/issues to be polished.
  • Loading branch information
taurus-forever authored Dec 6, 2022
1 parent 041ae5f commit 247e327
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 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,8 +24,12 @@ jobs:
run: python -m pip install tox
- name: Run tests
run: tox -e unit

integration-test-microk8s:
name: Integration tests (microk8s)
needs:
- lint
- unit-test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 247e327

Please sign in to comment.