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 22# See LICENSE file for licensing details.
33name : Tests
44
5- concurrency :
6- group : ${{ github.workflow }}-${{ github.ref }}
7- cancel-in-progress : true
8-
95on :
106 pull_request :
117 schedule :
1814 value : ${{ jobs.build.outputs.artifact-prefix }}
1915
2016jobs :
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-
4917 build :
5018 name : Build charm
5119 uses :
canonical/data-platform-workflows/.github/workflows/[email protected] 5220
53- integration-test :
54- name : Integration test charm
21+ release :
22+ name : Release charm
5523 needs :
56- - lint
57- - unit-test
5824 - build
59- uses : ./ .github/workflows/integration_test .yaml
25+ uses : canonical/data-platform-workflows/ .github/workflows/release_charm .yaml@v31.0.0
6026 with :
27+ channel : 8.0/edge/test-refresh-v3-8.0.40
6128 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