-
-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update minimum Swift version to 5.5 (#751)
Update minimum Swift version to 5.5, update very ancient CI
- Loading branch information
Showing
2 changed files
with
11 additions
and
32 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,12 @@ | ||
name: test | ||
on: { pull_request: {} } | ||
on: | ||
pull_request: { branches: ['*'] } | ||
push: { branches: ['main'] } | ||
|
||
jobs: | ||
getcidata: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
environments: ${{ steps.output.outputs.environments }} | ||
steps: | ||
- id: output | ||
run: | | ||
envblob="$(curl -fsSL https://raw.githubusercontent.com/vapor/ci/main/pr-environments.json | jq -cMj '.')" | ||
echo "::set-output name=environments::${envblob}" | ||
test-fluent: | ||
needs: getcidata | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
env: ${{ fromJSON(needs.getcidata.outputs.environments) }} | ||
runs-on: ${{ matrix.env.os }} | ||
container: ${{ matrix.env.image }} | ||
steps: | ||
- name: Select toolchain | ||
uses: maxim-lobanov/[email protected] | ||
with: | ||
xcode-version: ${{ matrix.env.toolchain }} | ||
if: ${{ matrix.env.toolchain != '' }} | ||
- name: Check out Vapor | ||
uses: actions/checkout@v2 | ||
- name: Run tests with Thread Sanitizer | ||
timeout-minutes: 30 | ||
run: swift test --enable-test-discovery --sanitize=thread | ||
unit-tests: | ||
uses: vapor/ci/.github/workflows/run-unit-tests.yml@reusable-workflows | ||
with: | ||
with_coverage: true | ||
with_tsan: true | ||
with_public_api_check: ${{ github.event_name == 'pull_request' }} |
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