File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ - push
4+ jobs :
5+ xenial :
6+ container :
7+ image : vapor/swift:5.1-xenial
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@master
11+ - run : swift test --enable-test-discovery --enable-code-coverage
12+ bionic :
13+ container :
14+ image : vapor/swift:5.1-bionic
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@master
18+ - name : Run Bionic Tests
19+ run : swift test --enable-test-discovery --enable-code-coverage
20+ - name : Setup container for codecov upload
21+ run : apt-get update && apt-get install curl
22+ - name : Process coverage file
23+ run : llvm-cov show .build/x86_64-unknown-linux/debug/LeafErrorMiddlewarePackageTests.xctest -instr-profile=.build/x86_64-unknown-linux/debug/codecov/default.profdata > coverage.txt
24+ - name : Upload code coverage
25+ uses : codecov/codecov-action@v1
26+ with :
27+ token : ${{ secrets.CODECOV_UPLOAD_KEY }}
28+ file : coverage.txt
Load diff This file was deleted.
Original file line number Diff line number Diff line change 55 <a href="https://swift.org">
66 <img src="http://img.shields.io/badge/Swift-4.1-brightgreen.svg" alt="Language">
77 </a>
8- <a href="https://travis-ci.org /brokenhandsio/leaf-error-middleware">
9- <img src="https://travis-ci.org /brokenhandsio/leaf-error-middleware.svg?branch=master" alt="Build Status">
8+ <a href="https://github.com /brokenhandsio/leaf-error-middleware/actions ">
9+ <img src="https://github.com /brokenhandsio/leaf-error-middleware/workflows/CI/badge .svg?branch=master" alt="Build Status">
1010 </a>
1111 <a href="https://codecov.io/gh/brokenhandsio/leaf-error-middleware">
1212 <img src="https://codecov.io/gh/brokenhandsio/leaf-error-middleware/branch/master/graph/badge.svg" alt="Code Coverage">
You can’t perform that action at this time.
0 commit comments