Skip to content

Commit

Permalink
Update swift-build-testing.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gradyzhuo authored Jun 24, 2024
1 parent 77237e1 commit 5fa72bb
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/swift-build-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,17 @@ jobs:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v4
- name: Build
run: swift build -v
run: swift build -v --build-tests
- name: Run tests
run: swift test -v
run: swift test -v --skip-build --enable-code-coverage
- name: Create Coverage Report
uses: sersoft-gmbh/swift-coverage-action@v4
id: coverage-files
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ${{ join(fromJSON(steps.coverage-files.outputs.files), ',') }}
services:
# Label used to access the service container
eventstoredb:
Expand Down

0 comments on commit 5fa72bb

Please sign in to comment.