File tree Expand file tree Collapse file tree 3 files changed +7
-93
lines changed Expand file tree Collapse file tree 3 files changed +7
-93
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
# See LICENSE file for licensing details.
3
3
name : Tests
4
4
5
- concurrency :
6
- group : ${{ github.workflow }}-${{ github.ref }}
7
- cancel-in-progress : true
8
-
9
5
on :
10
6
pull_request :
11
7
paths-ignore :
23
19
value : ${{ jobs.build.outputs.artifact-prefix }}
24
20
25
21
jobs :
26
- lint :
27
- name : Lint
28
- runs-on : ubuntu-latest
29
- timeout-minutes : 5
30
- steps :
31
- - name : Checkout
32
- uses : actions/checkout@v4
33
- - name : Install tox & poetry
34
- run : |
35
- pipx install tox
36
- pipx install poetry
37
- - name : Run linters
38
- run : tox run -e lint
39
-
40
- unit-test :
41
- name : Unit test charm
42
- runs-on : ubuntu-22.04 # TODO: use ubuntu-latest after fixing pathlib issue on python 3.12
43
- timeout-minutes : 20
44
- steps :
45
- - name : Checkout
46
- uses : actions/checkout@v4
47
- - name : Install tox & poetry
48
- run : |
49
- pipx install tox
50
- pipx install poetry
51
- - name : Run tests
52
- run : tox run -e unit
53
- - name : Upload Coverage to Codecov
54
- uses : codecov/codecov-action@v5
55
-
56
22
build :
57
23
name : Build charm
58
24
uses :
canonical/data-platform-workflows/.github/workflows/[email protected]
59
25
60
- integration-test :
61
- name : Integration test charm
26
+ release :
27
+ name : Release charm
62
28
needs :
63
- - lint
64
- - unit-test
65
29
- build
66
- uses : ./ .github/workflows/integration_test .yaml
30
+ uses : canonical/data-platform-workflows/ .github/workflows/release_charm .yaml@v31.0.1
67
31
with :
32
+ channel : dpe/edge/test-refresh-v3-8.0.40
68
33
artifact-prefix : ${{ needs.build.outputs.artifact-prefix }}
69
- secrets : inherit
70
- permissions :
71
- contents : write # Needed for Allure Report
34
+ create-git-tags : false
35
+ secrets :
36
+ charmhub-token : ${{ secrets.CHARMHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments