Update DOCS.md #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 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/action-junit-report@v3.8.0 | |
with: | |
report_paths: 'report.xml' |