From e69fa03c1b02886aeac6de71ee240972d8336ae3 Mon Sep 17 00:00:00 2001 From: Yuuichi Asahi Date: Fri, 3 Jan 2025 09:44:47 +0900 Subject: [PATCH 1/4] fix conflicts --- .github/workflows/build_test.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build_test.yaml b/.github/workflows/build_test.yaml index ff649d31..619e814f 100644 --- a/.github/workflows/build_test.yaml +++ b/.github/workflows/build_test.yaml @@ -301,6 +301,7 @@ jobs: # test the project test: runs-on: ${{ matrix.backend.runner }} + continue-on-error: ${{ matrix.unstable }} needs: - check_docker_files @@ -311,12 +312,14 @@ jobs: strategy: matrix: + unstable: [false] backend: # run CUDA tests on Ruche supercomputer with Singularity - name: cuda image: nvcc runner: [self-hosted, cuda] use_singularity: true + unstable: true # run OpenMP tests on Azure server - name: openmp image: gcc From c7a03f5766fa35c04e4185f806cdb16bec7922d2 Mon Sep 17 00:00:00 2001 From: Yuuichi Asahi Date: Fri, 3 Jan 2025 09:59:10 +0900 Subject: [PATCH 2/4] ensure that all tests run even if one of them fails --- .github/workflows/build_test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_test.yaml b/.github/workflows/build_test.yaml index 619e814f..2b947635 100644 --- a/.github/workflows/build_test.yaml +++ b/.github/workflows/build_test.yaml @@ -311,6 +311,7 @@ jobs: if: ${{ ! cancelled() && needs.build.result == 'success' }} strategy: + fail-fast: false matrix: unstable: [false] backend: From 62cd142c59668a3260c3cd9a596260eb09c651bd Mon Sep 17 00:00:00 2001 From: Yuuichi Asahi Date: Wed, 8 Jan 2025 18:37:42 +0900 Subject: [PATCH 3/4] fix: the condition to contiue-on-error --- .github/workflows/build_test.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_test.yaml b/.github/workflows/build_test.yaml index 2b947635..638a5bbe 100644 --- a/.github/workflows/build_test.yaml +++ b/.github/workflows/build_test.yaml @@ -301,7 +301,7 @@ jobs: # test the project test: runs-on: ${{ matrix.backend.runner }} - continue-on-error: ${{ matrix.unstable }} + continue-on-error: ${{ matrix.backend.unstable }} needs: - check_docker_files @@ -311,10 +311,9 @@ jobs: if: ${{ ! cancelled() && needs.build.result == 'success' }} strategy: - fail-fast: false matrix: - unstable: [false] backend: + unstable: [false] # run CUDA tests on Ruche supercomputer with Singularity - name: cuda image: nvcc From 26336e655ce7fd6946230fbb57eba0e71d4b82cb Mon Sep 17 00:00:00 2001 From: Yuuichi Asahi Date: Wed, 8 Jan 2025 18:56:15 +0900 Subject: [PATCH 4/4] unuse default variable --- .github/workflows/build_test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_test.yaml b/.github/workflows/build_test.yaml index 638a5bbe..d3fbed1e 100644 --- a/.github/workflows/build_test.yaml +++ b/.github/workflows/build_test.yaml @@ -313,7 +313,6 @@ jobs: strategy: matrix: backend: - unstable: [false] # run CUDA tests on Ruche supercomputer with Singularity - name: cuda image: nvcc @@ -325,16 +324,19 @@ jobs: image: gcc runner: ubuntu-latest use_singularity: false + unstable: false # run Threads tests on Azure server - name: threads image: gcc runner: ubuntu-latest use_singularity: false + unstable: false # run Serial tests on Azure server - name: serial image: gcc runner: ubuntu-latest use_singularity: false + unstable: false steps: - name: Get artifacts