Skip to content

Update question.md #211

Update question.md

Update question.md #211

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.7.1', '5.7.2']
mongodb-version: ['4.2', '4.4', '5.0', '6.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