Skip to content

Commit

Permalink
Merge pull request #5 from potherca-contrib/qa/run-tests
Browse files Browse the repository at this point in the history
Add GitHub action for running TAP tests.
  • Loading branch information
poef authored Feb 18, 2024
2 parents a5fe2ee + a8a15f8 commit de1fd69
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/run-tap-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Run tap tests

on:
- push
- pull_request
# Allow manually triggering the workflow.
- workflow_dispatch

# Cancels all previous workflow runs for the same branch that have not yet completed.
concurrency:
# The concurrency group contains the workflow name and the branch name.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm install
- run: ./node_modules/.bin/tap --color --reporter=base test/*.mjs

0 comments on commit de1fd69

Please sign in to comment.