Skip to content

Add basic test workflow #1

Add basic test workflow

Add basic test workflow #1

Workflow file for this run

name: test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request: { types: [opened, reopened, synchronize, ready_for_review] }
push: { branches: [ main ] }
jobs:
test:
strategy:
fail-fast: false
matrix:
base-image:
- ubuntu:focal
- ubuntu:jammy
- amazonlinux:2
- redhat/ubi9:latest
test-args:
- ''
- '{"toolchain":"latest"}'
- '{"toolchain":"5.9"}'
runs-on: ubuntu-latest
container: ${{ matrix.base-image }}
steps:
- name: Checkout self
uses: checkout@v4
- name: Test
uses: .
with: ${{ fromJSON(matrix.test-args) }}