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
schedule :
18
14
value : ${{ jobs.build.outputs.artifact-prefix }}
19
15
20
16
jobs :
21
- lint :
22
- name : Lint
23
- runs-on : ubuntu-latest
24
- timeout-minutes : 5
25
- steps :
26
- - name : Checkout
27
- uses : actions/checkout@v4
28
- - name : Install tox & poetry
29
- run : |
30
- pipx install tox
31
- pipx install poetry
32
- - name : Run linters
33
- run : tox run -e lint
34
-
35
- unit-test :
36
- name : Unit test charm
37
- runs-on : ubuntu-22.04 # TODO: use ubuntu-latest after fixing pathlib issue on python 3.12
38
- timeout-minutes : 20
39
- steps :
40
- - name : Checkout
41
- uses : actions/checkout@v4
42
- - name : Install tox & poetry
43
- run : |
44
- pipx install tox
45
- pipx install poetry
46
- - name : Run tests
47
- run : tox run -e unit
48
-
49
17
build :
50
18
name : Build charm
51
19
uses :
canonical/data-platform-workflows/.github/workflows/[email protected]
52
20
53
- integration-test :
54
- name : Integration test charm
21
+ release :
22
+ name : Release charm
55
23
needs :
56
- - lint
57
- - unit-test
58
24
- build
59
- uses : ./ .github/workflows/integration_test .yaml
25
+ uses : canonical/data-platform-workflows/ .github/workflows/release_charm .yaml@v31.0.0
60
26
with :
27
+ channel : 8.0/edge/test-refresh-v3-8.0.40
61
28
artifact-prefix : ${{ needs.build.outputs.artifact-prefix }}
62
- permissions :
63
- contents : write # Needed for Allure Report
29
+ create-git-tags : false
30
+ secrets :
31
+ charmhub-token : ${{ secrets.CHARMHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments