Improve/fix translations #158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Swift | |
on: [push] | |
jobs: | |
build: | |
runs-on: macos-latest | |
# build also for iOS, not possible (yet)? .-. | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build | |
run: swift build -v | |
- name: Run tests | |
run: swift test -v --enable-code-coverage | |
- name: Generate lcov file | |
run: | | |
xcrun llvm-cov export -format=lcov \ | |
-instr-profile .build/debug/codecov/default.profdata \ | |
-ignore-filename-regex="(.build/|Tests/)" \ | |
.build/debug/SimpleKeyboardPackageTests.xctest/Contents/MacOS/SimpleKeyboardPackageTests > ./coverage.lcov | |
- name: Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |