File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 25
25
value : ${{ jobs.build.outputs.artifact-prefix }}
26
26
27
27
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
+
28
50
build :
29
51
name : Build charm
30
52
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
Original file line number Diff line number Diff line change 11
11
- ' docs/**'
12
12
- .github/renovate.json5
13
13
- pyproject.toml
14
+ - ' .github/workflows/ci.yaml'
14
15
- ' .github/workflows/lib-check.yaml'
15
16
- ' .github/workflows/sync_docs.yaml'
16
17
You can’t perform that action at this time.
0 commit comments