Skip to content

Commit

Permalink
Create test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx authored Nov 7, 2023
1 parent f026e2f commit d14575f
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Run Unit Tests

on:
push:
branches: ["main"]

workflow_dispatch:

permissions:
contents: read
pages: write
checks: write

jobs:
test:
name: Unit Test
runs-on: ubuntu-latest
env:
deno-version: v1.x

steps:
- name: Setup Repository (${{github.event.repository.name}})
uses: actions/checkout@v3

- name: Setup Deno (${{env.deno-version}})
uses: denoland/setup-deno@v1
with:
deno-version: ${{env.deno-version}}

- name: Run Tests
run: deno test -A --unstable --check --reload --doc --allow-none --junit-path="./report.xml"

- name: Generate jUnit Report
uses: mikepenz/[email protected]
with:
report_paths: 'report.xml'

0 comments on commit d14575f

Please sign in to comment.