Enable testing in GitHub Actions workflows #28
Workflow file for this run
This file contains hidden or 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: Pull request | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
name: Test | |
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main | |
with: | |
linux_os_versions: '["noble", "jammy", "focal", "rhel-ubi9"]' | |
linux_pre_build_command: command -v apt >/dev/null 2>&1 && apt update && apt install -y libsqlite3-dev libncurses-dev || (command -v yum >/dev/null 2>&1 && yum update -y && yum install -y sqlite-devel ncurses-devel) | |
linux_build_command: 'swift test --no-parallel' | |
linux_swift_versions: '["nightly-main", "nightly-6.2"]' | |
windows_swift_versions: '["nightly-main"]' | |
windows_build_command: 'swift test --no-parallel' | |
soundness: | |
name: Soundness | |
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main | |
with: | |
license_header_check_project_name: "Swift" | |
api_breakage_check_enabled: false | |
unacceptable_language_check_enabled: false | |
format_check_enabled: false |