Skip to content

Commit

Permalink
Maybe let's actually run some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynne committed Sep 29, 2023
1 parent c29a36d commit 2e7a2e5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/run-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ jobs:
with:
package_root: ${{ inputs.package_root }}
- name: Initialize CodeQL
if: ${{ steps.swift-check.swift-compatible == 'true' }}
if: ${{ steps.swift-check.outputs.swift-compatible == 'true' }}
uses: github/codeql-action/init@v2
with: { languages: swift }
- name: Perform build
if: ${{ steps.swift-check.swift-compatible == 'true' }}
if: ${{ steps.swift-check.outputs.swift-compatible == 'true' }}
run: |
swift build ${PACKAGE_ROOT} ${EXTRA_FLAGS}
- name: Run CodeQL analyze
if: ${{ steps.swift-check.swift-compatible == 'true' }}
if: ${{ steps.swift-check.outputs.swift-compatible == 'true' }}
uses: github/codeql-action/analyze@v2

linux-unit:
Expand All @@ -132,7 +132,7 @@ jobs:
with:
package_root: ${{ inputs.package_root }}
- name: Run unit tests
if: ${{ steps.swift-check.swift-compatible == 'true' }}
if: ${{ steps.swift-check.outputs.swift-compatible == 'true' }}
run: |
SWIFT_DETERMINISTIC_HASHING=1 swift test ${PACKAGE_ROOT} ${WITH_TSAN} ${TEST_FILTER} ${EXTRA_FLAGS}
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
with:
package_root: ${{ inputs.package_root }}
- name: Run unit tests
if: ${{ steps.swift-check.swift-compatible == 'true' }}
if: ${{ steps.swift-check.outputs.swift-compatible == 'true' }}
run: |
SWIFT_DETERMINISTIC_HASHING=1 swift test ${PACKAGE_ROOT} ${WITH_TSAN} ${TEST_FILTER} ${EXTRA_FLAGS}
Expand Down

0 comments on commit 2e7a2e5

Please sign in to comment.