From 7b3f9f4abbbdc45cd3e0922844d540b901d1759b Mon Sep 17 00:00:00 2001 From: Thibault Wittemberg Date: Sat, 21 Mar 2020 13:09:59 -0400 Subject: [PATCH] project: publish code coverage to codecov.io --- .github/workflows/ci.yml | 4 ++++ codecov.yml | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 codecov.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b9e830f..5c3c517 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,3 +13,7 @@ jobs: - uses: actions/checkout@master - name: Run Unit Tests run: swift test --enable-code-coverage + - name: Upload coverage to Codecov.io + uses: codecov/codecov-action@v1.0.5 + with: + name: Spin.Swift diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..577ad70 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,2 @@ +ignore: + - "Tests/**/*"