From 69d6153607285381121053cbb5a126815e61849d Mon Sep 17 00:00:00 2001 From: Rene Haas Date: Wed, 17 Aug 2022 11:34:24 +0200 Subject: [PATCH] configure codecov --- .github/workflows/test.yml | 15 ++++++++------- codecov.yml | 2 ++ 2 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 codecov.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 93743f7..ff0b822 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,10 +25,11 @@ jobs: run: npm run jest - uses: codecov/codecov-action@v3 with: - flags: unittests - # - name: Run Playwright - # run: npm run playwright - # - uses: codecov/codecov-action@v3 - # with: - # files: ./coverage1.xml,./coverage2.xml - # flags: uitests \ No newline at end of file + flags: unit + files: "**\"jest\"coverage-final.json" + - name: Run Playwright + run: npm run playwright + - uses: codecov/codecov-action@v3 + with: + flags: ui + files: "**\"playwright\"coverage-final.json" \ No newline at end of file diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..31605b1 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,2 @@ +codecov: require_ci_to_pass: no; +notify: wait_for_ci: no;