From fb920a38b09789802bb8b64724d7fff753ca4baf Mon Sep 17 00:00:00 2001 From: Aroop Roelofs Date: Tue, 30 Jan 2024 10:13:44 +0100 Subject: [PATCH] Remove Codecov and replace with regular Deno test --- .github/workflows/codecov.yml | 24 ------------------------ .github/workflows/test.yml | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 24 deletions(-) delete mode 100644 .github/workflows/codecov.yml create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml deleted file mode 100644 index 1b1e6f92..00000000 --- a/.github/workflows/codecov.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Code Coverage -on: [push, pull_request] -jobs: - test: - runs-on: ubuntu-latest - steps: - - name: Clone repository - uses: actions/checkout@v3 - with: - submodules: true - - name: Set up Deno - uses: denoland/setup-deno@v1 - with: - deno-version: "1.30.0" - - name: Run tests - run: deno test --coverage=./coverage --allow-read --allow-env - - name: Generate lcov - run: deno coverage ./coverage --lcov --exclude="test\\.(ts|js)|wasm\\.js|testdata" > coverage.lcov - - name: Upload Code Coverage Report - uses: codecov/codecov-action@v3 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - with: - files: coverage.lcov diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..876bf353 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,16 @@ +name: Tests +on: [push, pull_request] +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Clone repository + uses: actions/checkout@v3 + with: + submodules: true + - name: Set up Deno + uses: denoland/setup-deno@v1 + with: + deno-version: "1.30.0" + - name: Run tests + run: deno test --allow-read --allow-env