Skip to content

Commit

Permalink
try out vapor run-unit-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sliemeobn committed Jul 5, 2024
1 parent 5a27f7c commit 7fbb770
Showing 1 changed file with 9 additions and 24 deletions.
33 changes: 9 additions & 24 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,12 @@
name: CI

name: test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
paths:
- "**.swift"
- "**.yml"
pull_request:
workflow_dispatch:
pull_request: { types: [opened, reopened, synchronize, ready_for_review] }
push: { branches: [main] }

jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
image: ["swift:5.10", "swiftlang/swift:nightly-6.0-jammy"]

container:
image: ${{ matrix.image }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test
run: swift test
unit-tests:
uses: vapor/ci/.github/workflows/run-unit-tests.yml@main
secrets: inherit

0 comments on commit 7fbb770

Please sign in to comment.