Skip to content

Commit f0f52a4

Browse files
Revert "Temporarily disable tests to unblock release"
This reverts commit 2f6131a.
1 parent 67de3f4 commit f0f52a4

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,41 @@ on:
2525
value: ${{ jobs.build.outputs.artifact-prefix }}
2626

2727
jobs:
28+
lint:
29+
name: Lint
30+
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
31+
32+
unit-test:
33+
name: Unit test charm
34+
runs-on: ubuntu-latest
35+
timeout-minutes: 5
36+
steps:
37+
- name: Checkout
38+
uses: actions/checkout@v4
39+
- name: Install tox & poetry
40+
run: |
41+
pipx install tox
42+
pipx install poetry
43+
- name: Run tests
44+
run: tox run -e unit
45+
- name: Upload Coverage to Codecov
46+
uses: codecov/codecov-action@v5
47+
env:
48+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
49+
2850
build:
2951
name: Build charm
3052
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
53+
54+
integration-test:
55+
name: Integration test charm
56+
needs:
57+
- lint
58+
- unit-test
59+
- build
60+
uses: ./.github/workflows/integration_test.yaml
61+
with:
62+
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
63+
secrets: inherit
64+
permissions:
65+
contents: write # Needed for Allure Report

0 commit comments

Comments
 (0)