Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(test): github actions
  • Loading branch information
nttg8100 committed Mar 28, 2026
commit 80cac73746a6deddee6df438c41e3cd155aea6bd
5 changes: 4 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ jobs:
with:
path: /tmp/slurm-build-cache
key: slurm-build-${{ hashFiles('roles/slurm-common/defaults/main.yml', 'roles/slurm-master/defaults/main.yml') }}

- name: Patch molecule-docker boolean bug (ansible-core 2.19 compat)
run: make fix-molecule-docker

- name: Run Molecule
run: pixi run molecule test
run: make test
env:
MOLECULE_EPHEMERAL_DIRECTORY: /tmp/molecule
# Pass the Docker socket so molecule-docker can manage containers
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ test: ${HOME}/.pixi/bin/pixi
${HOME}/.pixi/bin/pixi run molecule test

cluster: ${HOME}/.pixi/bin/pixi
${HOME}/.pixi/bin/pixi run ansible-playbook -i inventories/hosts.dev.yml playbooks/slurm-cluster/slurm.yml
${HOME}/.pixi/bin/pixi run ansible-playbook -i inventories/hosts.dev.yml playbooks/slurm-cluster/slurm.yml

# fix fix-molecule-docker
fix-molecule-docker:
${HOME}/.pixi/bin/pixi run patch-molecule-docker