Skip to content

Setup PR tests

Setup PR tests #420

Workflow file for this run

name: Acceptance tests
on:
pull_request:
branch: [ 'main' ]
jobs:
cpu_tests:
strategy:
matrix:
toolchain: [tests_toolchain.cmake, tests_release_toolchain.cmake, tests_release_omp_toolchain.cmake]
name: CPU Test (${{ matrix.toolchain }})
uses: ./.github/workflows/cpu_tests.yml
with:
toolchain: ${{ matrix.toolchain }}
merge_target: ${{ github.event.pull_request.base.ref }}
gpu_tests:
name: GPU Test (${{ matrix.toolchain }})
uses: ./.github/workflows/gpu_tests.yml
with:
toolchain: ./toolchains/v100.persee/toolchain.cmake
merge_target: ${{ github.event.pull_request.base.ref }}
resource_conservation:
needs: [cpu_tests, gpu_tests]

Check failure on line 26 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Acceptance tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 26, Col: 5): Required property is missing: runs-on
if: failure()
steps:
- name: Resource conservation
run:
gh pr ready ${{ github.event.pull_request.number }} --undo