fix PR comment link to build url for github actions #843
Workflow file for this run
This file contains hidden or 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
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v2.x | |
- name: Install dependencies | |
run: deno install --frozen | |
- name: Run Deno tests | |
run: deno task test | |
- name: Generate coverage report | |
run: deno coverage --lcov --output=reports/coverage.lcov reports/coverage/ | |
- name: Upload test results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: junit-results | |
path: reports/junit.xml | |
- name: Upload coverage for analysis | |
uses: coverallsapp/github-action@v2 | |
with: | |
file: reports/coverage.lcov | |
env: | |
# try and speedup the action by homebrew not having to do more then it needs when installing the coveralls tool | |
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: true | |
- name: Annotate failed tests | |
if: always() # Run with test/lint failures. | |
uses: granodigital/report-annotate@v1.0.1 | |
with: | |
reports: | | |
junit|reports/junit.xml |