Skip to content

Update config.yml

Update config.yml #217

Workflow file for this run

name: Swift
on:
push:
branches:
- master/7.0
pull_request:
branches:
- master/7.0
jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
swift-version: ["5.7", "5.8"]
mongodb-version: ["4.2", "4.4", "5.0", "6.0", "7.0"]
steps:
- name: Check out
uses: actions/checkout@v3
- name: Install Swift
uses: swift-actions/setup-swift@v1
with:
swift-version: ${{ matrix.swift-version }}
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
mongodb-replica-set: mk-rs
- name: Run tests
run: swift test
# macos:
# runs-on: macos-12
# steps:
# - name: Install docker
# uses: docker-practice/actions-setup-docker@master
#
# - name: Check out
# uses: actions/checkout@v3
#
# - name: Start Mongo
# run: docker-compose up -d
#
# - name: Run tests
# run: swift test