Skip to content

Merge branch 'main' of github.com:Tavernari/DIContainer #52

Merge branch 'main' of github.com:Tavernari/DIContainer

Merge branch 'main' of github.com:Tavernari/DIContainer #52

Workflow file for this run

name: Swift
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: macos-latest
steps:
- name: Install Swift
uses: slashmo/install-swift@v0.4.0
with:
version: "5.9"
- name: Get Sources
uses: actions/checkout@v2
- name: Build Package
run: swift build -v
- name: Test & publish code coverage to Code Climate
uses: paambaati/codeclimate-action@v3.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: swift test --enable-code-coverage
debug: true
coverageLocations: ${{github.workspace}}/.build/debug/codecov/*.json:lcov-json