Skip to content

Commit

Permalink
Merge pull request #29 from canonical/fix/run_tests_order
Browse files Browse the repository at this point in the history
DPE-781 Run integration tests for passed lint/unit tests only
  • Loading branch information
taurus-forever authored Oct 11, 2022
2 parents 205d0f2 + b62955c commit 96fd6c6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:

integration-standalone:
name: Integration tests for standalone charm
needs:
- lint
- unit-test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -41,6 +44,9 @@ jobs:

integration-backend:
name: Integration tests for backend relation
needs:
- lint
- unit-test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -55,6 +61,9 @@ jobs:

integration-legacy-relations:
name: Integration tests for legacy relations
needs:
- lint
- unit-test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -70,6 +79,9 @@ jobs:

integration-scaling:
name: Integration tests for scaling pgbouncer (microk8s)
needs:
- lint
- unit-test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:

integration-standalone:
name: Integration tests for standalone charm
needs:
- lib-check
- lint
- unit-test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -58,6 +62,10 @@ jobs:

integration-backend:
name: Integration tests for backend relation
needs:
- lib-check
- lint
- unit-test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -73,6 +81,10 @@ jobs:

integration-legacy-relations:
name: Integration tests for legacy relations
needs:
- lib-check
- lint
- unit-test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -87,6 +99,10 @@ jobs:

integration-scaling:
name: Integration tests for scaling pgbouncer (microk8s)
needs:
- lib-check
- lint
- unit-test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -109,7 +125,6 @@ jobs:
- integration-backend
- integration-legacy-relations
- integration-scaling

runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 96fd6c6

Please sign in to comment.