Add abortSignal to query execution #56
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: Deno CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
name: Tests (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
fail-fast: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
- name: Check format | |
if: matrix.os == 'ubuntu-latest' | |
run: deno fmt --check | |
- name: Check linting | |
if: matrix.os == 'ubuntu-latest' | |
run: deno lint | |
- name: Tests | |
run: deno task test | |
- name: Coverage | |
if: matrix.os == 'ubuntu-latest' | |
run: deno task coverage | |
- name: Upload coverage reports to Codecov | |
if: matrix.os == 'ubuntu-latest' | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./.coverage/coverage.lcov | |
flags: unittests | |
name: codecov-umbrella | |
fail_ci_if_error: true |