Skip to content

Commit

Permalink
Don't use generate-xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardiman committed Jan 19, 2024
1 parent 844e23e commit 328bc41
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@ on: [push]

jobs:
test:
name: Test on destination ${{ matrix.configurations.destination }}
name: Test on destination macOS
runs-on: macOS-13
strategy:
matrix:
configurations:
- destination: "platform=macOS"
scheme: "Fetch-macOS"
platform: "macOS"

steps:
- name: Xcode Select
Expand All @@ -20,15 +14,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Bundler
run: bundle install
- name: Run tests
run: swift test --enable-code-coverage

- name: Generate xcode project for code coverage
run: swift package generate-xcodeproj --enable-code-coverage

- name: Run tests on ${{ matrix.configurations.destination }}
run: xcodebuild -scheme Config-Package test |
xcpretty --report html --output test_output/results.html --report junit --output test_output/unit-tests/results.xml

- name: Post Coverage
run: bundle exec slather

0 comments on commit 328bc41

Please sign in to comment.