This repository has been archived by the owner on Aug 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:charmed-hpc/slurmctld-operator into…
… cos-integration Pulls the latest CI changes from the main branch.
- Loading branch information
Showing
4 changed files
with
80 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,12 +64,16 @@ jobs: | |
|
||
integration-test: | ||
strategy: | ||
fail-fast: true | ||
fail-fast: false | ||
matrix: | ||
bases: | ||
bases: | ||
- [email protected] | ||
name: Integration tests (LXD) | ${{ matrix.bases }} | ||
local: [true, false] | ||
name: Integration tests (LXD) ${{ matrix.local && '|' || '| Charmhub (edge) |'}} ${{ matrix.bases }} | ||
runs-on: ubuntu-latest | ||
# Testing against Charmhub will probably yield errors when doing breaking changes, so don't | ||
# block CI on that. | ||
continue-on-error: ${{ !matrix.local }} | ||
needs: | ||
- inclusive-naming-check | ||
- lint | ||
|
@@ -78,10 +82,33 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
path: main | ||
- name: Fetch slurmd | ||
uses: actions/checkout@v4 | ||
if: ${{ matrix.local }} | ||
with: | ||
repository: charmed-hpc/slurmd-operator | ||
path: slurmd-operator | ||
- name: Fetch slurmdbd | ||
uses: actions/checkout@v4 | ||
if: ${{ matrix.local }} | ||
with: | ||
repository: charmed-hpc/slurmdbd-operator | ||
path: slurmdbd-operator | ||
- name: Fetch slurmrestd | ||
uses: actions/checkout@v4 | ||
if: ${{ matrix.local }} | ||
with: | ||
repository: charmed-hpc/slurmrestd-operator | ||
path: slurmrestd-operator | ||
- name: Setup operator environment | ||
uses: charmed-kubernetes/actions-operator@main | ||
with: | ||
provider: lxd | ||
juju-channel: 3.1/stable | ||
juju-channel: 3.4/stable | ||
- name: Run tests | ||
run: tox run -e integration -- --charm-base=${{ matrix.bases }} | ||
run: | | ||
cd main && tox run -e integration -- \ | ||
--charm-base=${{ matrix.bases }} \ | ||
${{ matrix.local && '--use-local' || '' }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters