Skip to content

Commit

Permalink
Merge pull request #26 from DilumAluthge-forks/dpa/dependabot-github-…
Browse files Browse the repository at this point in the history
…actions

CI: Multiple tweaks to the CI workflow file
  • Loading branch information
kleinhenz authored Jan 6, 2025
2 parents 1a87476 + 2cb7fa3 commit 2c65df2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 100
labels:
- "dependencies"
- "github-actions"
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ on:
- master
- develop

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
Expand All @@ -21,14 +25,19 @@ jobs:
- '1.10.7' # current LTS
- '1.11.2' # currently the latest stable release
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup Docker
run: |
docker version
docker compose version
docker build --build-arg JULIA_VERSION=${{matrix.version}} -t slurm-cluster-julia -f ci/Dockerfile .
docker build --build-arg JULIA_VERSION="${MATRIX_VERSION:?}" -t slurm-cluster-julia -f ci/Dockerfile .
docker compose -f ci/docker-compose.yml up -d
docker ps
env:
MATRIX_VERSION: ${{matrix.version}}
- name: Test Docker
run: |
docker exec -t slurmctld julia --version
Expand Down

0 comments on commit 2c65df2

Please sign in to comment.