Skip to content

Initial Commit πŸ³οΈβ€πŸŒˆ #1

Initial Commit πŸ³οΈβ€πŸŒˆ

Initial Commit πŸ³οΈβ€πŸŒˆ #1

Workflow file for this run

name: Unit Test
on:
workflow_call:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-unit-test
cancel-in-progress: true
jobs:
unit-test:
name: Unit Test
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
toolchain: [latest]
steps:
- name: Install Swift
uses: vapor/[email protected]
with:
toolchain: ${{ matrix.toolchain }}
env:
SWIFTLY_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/[email protected]
- name: Resolve Swift dependencies
run: swift package resolve
- name: Run Unit Tests
run: swift test --parallel --enable-code-coverage