Skip to content

fixed test code

fixed test code #110

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: macos-14
env:
CODECOV_PACKAGE_NAME: DIContainer
steps:
- uses: actions/checkout@v4
- name: Select Xcode 16.0
run: sudo xcode-select -s /Applications/Xcode_16.0.app
- name: Build and Test
run: |
set -o pipefail && swift test --enable-code-coverage | xcpretty -c;
- name: Upload Code Coverage
run: |
bash <(curl -s https://codecov.io/bash) \
-X xcodeplist \
-J "$CODECOV_PACKAGE_NAME"
env:
CODECOV_TOKEN: bbf7a4f2-5199-4a17-b290-1ec9629b5390