Skip to content

Commit

Permalink
ci: apply the same fix to candidate and edge testing actions
Browse files Browse the repository at this point in the history
  • Loading branch information
james-garner-canonical committed Oct 9, 2024
1 parent 5eabac4 commit a4ce7ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/test_candidate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,17 @@ jobs:
- name: Check out code
uses: actions/checkout@v4
if: ${{ env.next-test != 'NA' }}
- name: Setup operator environment
if: ${{ env.next-test != 'NA' }}
uses: charmed-kubernetes/actions-operator@main
with:
provider: lxd
juju-channel: 3.4/candidate
- name: Setup Python
if: ${{ env.next-test != 'NA' }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
- name: Setup operator environment
if: ${{ env.next-test != 'NA' }}
run: pip install tox
uses: charmed-kubernetes/actions-operator@main
with:
provider: lxd
juju-channel: 3.4/candidate
- name: Run integration
if: ${{ env.next-test != 'NA' }}
# Force one single concurrent test
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/test_edge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,17 @@ jobs:
- name: Check out code
uses: actions/checkout@v4
if: ${{ env.next-test != 'NA' }}
- name: Setup operator environment
if: ${{ env.next-test != 'NA' }}
uses: charmed-kubernetes/actions-operator@main
with:
provider: lxd
juju-channel: 3.4/edge
- name: Setup Python
if: ${{ env.next-test != 'NA' }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
- name: Setup operator environment
if: ${{ env.next-test != 'NA' }}
run: pip install tox
uses: charmed-kubernetes/actions-operator@main
with:
provider: lxd
juju-channel: 3.4/edge
- name: Run integration
if: ${{ env.next-test != 'NA' }}
# Force one single concurrent test
Expand Down

0 comments on commit a4ce7ad

Please sign in to comment.