File tree Expand file tree Collapse file tree 3 files changed +7
-90
lines changed Expand file tree Collapse file tree 3 files changed +7
-90
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@v5
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-latest
43
- timeout-minutes : 20
44
- steps :
45
- - name : Checkout
46
- uses : actions/checkout@v5
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
-
54
22
build :
55
23
name : Build charm
56
24
uses :
canonical/data-platform-workflows/.github/workflows/[email protected]
57
25
58
- integration-test :
59
- name : Integration test charm
26
+ release :
27
+ name : Release charm
60
28
needs :
61
- - lint
62
- - unit-test
63
29
- build
64
- uses : ./ .github/workflows/integration_test .yaml
30
+ uses : canonical/data-platform-workflows/ .github/workflows/release_charm .yaml@v31.0.0
65
31
with :
32
+ channel : 8.0/edge/test-refresh-v3-8.0.41
66
33
artifact-prefix : ${{ needs.build.outputs.artifact-prefix }}
67
- permissions :
68
- 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