Skip to content

Commit

Permalink
Attempt to restore missing jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Jun 5, 2024
1 parent 8f9d932 commit 1d99df1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
type: string
required: false
validate:
type: boolean
type: string
required: false

env:
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
image: glotzerlab/ci:2024.06.04-${{ inputs.container_prefix }}
options: ${{ inputs.test_docker_options }} -e CUDA_VISIBLE_DEVICES

if: ${{ contains(github.event.pull_request.labels.*.name, 'validate') && inputs.validate }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'validate') && inputs.validate == 'true' }}
steps:
- name: Clean workspace
run: ( shopt -s dotglob nullglob; rm -rf ./* )
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/tests_new.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,27 @@ jobs:
test_runner: ${{ matrix.test_runner == '' && 'ubuntu-latest' || toJson(matrix.test_runner) }}
test_docker_options: ${{ matrix.test_docker_options }}
# Default to false when unset
validate: ${{ matrix.validate == '' && false || matrix.validate }}
validate: ${{ matrix.validate == '' && 'false' || matrix.validate }}

strategy:
fail-fast: false
matrix:
include:
- config: [clang14_py311, mpi, tbb, llvm]
validate: true
validate: 'true'

- config: [gcc13_py312]
validate: true
validate: 'true'

- config: [cuda120_gcc11_py310, mpi, llvm]
test_runner: [self-hosted,GPU]
test_docker_options: '--gpus=all --device /dev/nvidia0 --device /dev/nvidia1 --device /dev/nvidia-uvm --device /dev/nvidia-uvm-tools --device /dev/nvidiactl'
validate: true
validate: 'true'

- config: [cuda120_gcc11_py310]
test_runner: [self-hosted,GPU]
test_docker_options: '--gpus=all --device /dev/nvidia0 --device /dev/nvidia1 --device /dev/nvidia-uvm --device /dev/nvidia-uvm-tools --device /dev/nvidiactl'
validate: true
validate: 'true'

- config: [gcc13_py312, nomd]

Expand All @@ -66,7 +66,6 @@ jobs:
- config: [cuda120_gcc11_py310, mpi, llvm, debug]
test_runner: [self-hosted,GPU]
test_docker_options: '--gpus=all --device /dev/nvidia0 --device /dev/nvidia1 --device /dev/nvidia-uvm --device /dev/nvidia-uvm-tools --device /dev/nvidiactl'
validate: false

- config: [gcc9_py39]

Expand All @@ -81,7 +80,7 @@ jobs:
test_runner: ${{ matrix.test_runner == '' && 'ubuntu-latest' || toJson(matrix.test_runner) }}
test_docker_options: ${{ matrix.test_docker_options }}
# Default to false when unset
validate: ${{ matrix.validate == '' && false || matrix.validate }}
validate: ${{ matrix.validate == '' && 'false' || matrix.validate }}

strategy:
fail-fast: false
Expand Down

0 comments on commit 1d99df1

Please sign in to comment.