Skip to content

Commit a4ce7ad

Browse files
ci: apply the same fix to candidate and edge testing actions
1 parent 5eabac4 commit a4ce7ad

2 files changed

Lines changed: 10 additions & 16 deletions

File tree

.github/workflows/test_candidate.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,17 @@ jobs:
4949
- name: Check out code
5050
uses: actions/checkout@v4
5151
if: ${{ env.next-test != 'NA' }}
52-
- name: Setup operator environment
53-
if: ${{ env.next-test != 'NA' }}
54-
uses: charmed-kubernetes/actions-operator@main
55-
with:
56-
provider: lxd
57-
juju-channel: 3.4/candidate
5852
- name: Setup Python
5953
if: ${{ env.next-test != 'NA' }}
6054
uses: actions/setup-python@v5
6155
with:
6256
python-version: ${{ matrix.python }}
63-
- name: Install dependencies
57+
- name: Setup operator environment
6458
if: ${{ env.next-test != 'NA' }}
65-
run: pip install tox
59+
uses: charmed-kubernetes/actions-operator@main
60+
with:
61+
provider: lxd
62+
juju-channel: 3.4/candidate
6663
- name: Run integration
6764
if: ${{ env.next-test != 'NA' }}
6865
# Force one single concurrent test

.github/workflows/test_edge.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,17 @@ jobs:
4949
- name: Check out code
5050
uses: actions/checkout@v4
5151
if: ${{ env.next-test != 'NA' }}
52-
- name: Setup operator environment
53-
if: ${{ env.next-test != 'NA' }}
54-
uses: charmed-kubernetes/actions-operator@main
55-
with:
56-
provider: lxd
57-
juju-channel: 3.4/edge
5852
- name: Setup Python
5953
if: ${{ env.next-test != 'NA' }}
6054
uses: actions/setup-python@v5
6155
with:
6256
python-version: ${{ matrix.python }}
63-
- name: Install dependencies
57+
- name: Setup operator environment
6458
if: ${{ env.next-test != 'NA' }}
65-
run: pip install tox
59+
uses: charmed-kubernetes/actions-operator@main
60+
with:
61+
provider: lxd
62+
juju-channel: 3.4/edge
6663
- name: Run integration
6764
if: ${{ env.next-test != 'NA' }}
6865
# Force one single concurrent test

0 commit comments

Comments
 (0)