Skip to content

Commit

Permalink
Simpler test script.
Browse files Browse the repository at this point in the history
  • Loading branch information
daveverwer committed Jul 22, 2024
1 parent 11cb6f3 commit 8f0af15
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,21 @@ on:
push:

jobs:

build-release:
strategy:
matrix:
# https://github.com/actions/virtual-environments
os: [macos-12, ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- run: swift build --disable-automatic-resolution -c release
- uses: actions/checkout@v4
- name: Check a Release build
run: swift build --disable-automatic-resolution -c release

run-tests:
strategy:
matrix:
swift-version: [5.8, 5.9, 5.10, 6.0]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: fwal/setup-swift@v1
with:
swift-version: ${{ matrix.swift-version }}
- uses: actions/checkout@v2
- run: swift test
- name: Run tests
run: swift test

0 comments on commit 8f0af15

Please sign in to comment.