Skip to content

Merge pull request #19 from philmodin/fix-example-code #29

Merge pull request #19 from philmodin/fix-example-code

Merge pull request #19 from philmodin/fix-example-code #29

Workflow file for this run

name: Swift
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-linux:
strategy:
fail-fast: false
matrix:
dbimage:
- mongo
runner:
- swift:5.9-focal
- swift:5.10-focal
- swiftlang/swift:nightly-main-focal
container: ${{ matrix.runner }}
runs-on: ubuntu-latest
services:
mongo-a:
image: ${{ matrix.dbimage }}
mongo-b:
image: ${{ matrix.dbimage }}
steps:
- name: Check out
uses: actions/checkout@v3
- name: Run tests
run: swift test
env:
MONGO_HOSTNAME_A: mongo-a
MONGO_HOSTNAME_B: mongo-b