+
Skip to content

fix PR comment link to build url for github actions #843

fix PR comment link to build url for github actions

fix PR comment link to build url for github actions #843

Workflow file for this run

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载