From 67379bedc17ed0369faac3ed0a25bfbef54c32c7 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 8 Oct 2020 01:03:19 +0200 Subject: [PATCH] Add test workflow --- .github/workflows/test.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..b2a1563 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,30 @@ +name: test + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + test: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v2.3.3 + - + name: Install + run: yarn install + - + name: Test + run: yarn run test + - + name: Upload coverage + uses: codecov/codecov-action@v1.0.13 + if: success() + with: + token: ${{ secrets.CODECOV_TOKEN }} + file: ./coverage/clover.xml