Skip to content

Commit

Permalink
Add Deno CI (may fail)
Browse files Browse the repository at this point in the history
Signed-off-by: chinodesuuu <[email protected]>
  • Loading branch information
sr229 committed Aug 27, 2024
1 parent 448a12c commit 99da53c
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,37 @@ on:
branches: ["**"]

jobs:
test-deno:
runs-on: ubuntu-latest

strategy:
matrix:
deno-version: [canary, v1.46.1]

steps:
- uses: actions/[email protected]

- name: Setup Deno ${{ matrix.bun-version }}
uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno-version }}

- name: Get Dependencies
run: deno install

- name: Get CodeClimate Coverage
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
- name: Test
run: |
echo 'SAUCENAO_TOKEN=${{ secrets.SAUCENAO_TOKEN }}' > ./.env
deno task coverage:deno
./cc-test-reporter after-build --exit-code $(echo $?)
env:
CC_TEST_REPORTER_ID: bda3746e9ecd039cee2dcfb3c1e4efc59c712a40fa3b9316e281eb00d61c613e
test:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 99da53c

Please sign in to comment.