diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c81ed63..94fd33a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,3 +9,22 @@ on: jobs: unit-tests: uses: vapor/ci/.github/workflows/run-unit-tests.yml@main + + unit-tests-old: + if: ${{ !(github.event.pull_request.draft || false) }} + strategy: + fail-fast: false + matrix: + swift-image: + - swift:5.5-focal + - swift:5.6-focal + - swift:5.7-jammy + runs-on: ubuntu-latest + container: ${{ matrix.swift-image }} + timeout-minutes: 60 + steps: + - name: Check out code + uses: actions/checkout@v4 + - name: Run unit tests + run: SWIFT_DETERMINISTIC_HASHING=1 swift test --sanitize=thread + \ No newline at end of file diff --git a/Package.swift b/Package.swift index 93d867e..bb64407 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.7 +// swift-tools-version:5.5 import PackageDescription let package = Package(