add Application.background() for running a full blown, live app in th… #445
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Swift | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
test-macos: | |
runs-on: macos-14 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: swift build -v | |
- name: Run tests | |
run: swift test -v | |
test-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
swift: ["5.10"] | |
container: swift:${{ matrix.swift }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install sqlite | |
run: apt-get -q update && apt-get install -y libsqlite3-dev | |
- name: Build | |
run: swift build -v --enable-test-discovery | |
- name: Run tests | |
run: swift test -v --enable-test-discovery |