Skip to content

Commit

Permalink
CodeCov or Tuist Action 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Do-hyun-Kim authored Jan 12, 2024
1 parent caaad0e commit 7c74d1f
Showing 1 changed file with 28 additions and 23 deletions.
51 changes: 28 additions & 23 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,34 @@ jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: tuist clean command start or codecov
run: echo "tuist clean command start or codecov"
- uses: codecov/codecov-action@v3
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- uses: tuist/[email protected]
with:
command: 'clean'
- uses: tuist/[email protected]
with:
command: 'fetch'
- uses: tuist/[email protected]
with:
command: 'generate'
- uses: tuist/[email protected]
with:
command: 'build'
arguments: ''
- name: xcode build 🛠️
run: xcodebuild clean build -workspace "Bibbi.xcworkspace" -scheme "App" -destination "platform=iOS Simulator,name=iPhone 13 mini,OS=latest" -enabledCodeCoverage YES build test
- name: Checkout branch
uses: actions/checkout@v3

- name: Tuist Clean Command
uses: tuist/[email protected]
with:
subcommand: 'clean'
arguments: ''

- name: Tuist Fetch Command
uses: tuist/[email protected]
with:
subcommand: 'fetch'
arguments: ''

- name: Tuist Generate Command
uses: tuist/[email protected]
with:
subcommand: 'generate'
arguments: ''

- name: xcode build 🛠️
run: xcodebuild clean build -workspace "Bibbi.xcworkspace" -scheme "App" -destination "platform=iOS Simulator,name=iPhone 13 mini,OS=latest" -enabledCodeCoverage YES build test

- name: Upload coverage to Codecov
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
deploy:
runs-on: macos-latest
steps:
Expand Down

0 comments on commit 7c74d1f

Please sign in to comment.