Skip to content

Commit

Permalink
Add basic test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynne committed Sep 22, 2023
1 parent cc019b6 commit 2a59fad
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
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: vapor/swiftly-action@main
with: ${{ fromJSON(matrix.test-args) }}

0 comments on commit 2a59fad

Please sign in to comment.