This commit is contained in:
rejas 2021-01-01 22:47:28 +01:00 committed by veeck
parent 5bc2c207db
commit 5a3d3b76a7
3 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,6 @@
name: Run Test Suites # This workflow runs the automated test and uploads the coverage results to codecov.io
name: "Run Codecov Tests"
on: [push] on: [push]
@ -12,4 +14,4 @@ jobs:
export DISPLAY=:99 export DISPLAY=:99
npm install npm install
npm run test:coverage npm run test:coverage
bash <(curl -s https://codecov.io/bash) # Upload to Codecov bash <(curl -s https://codecov.io/bash)

View File

@ -1,3 +1,5 @@
# This workflow enforces the update of a changelog file on every pull request
name: "Enforce Changelog" name: "Enforce Changelog"
on: on:
@ -5,7 +7,6 @@ on:
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
jobs: jobs:
# Enforces the update of a changelog file on every pull request
check: check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View File

@ -1,7 +1,7 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Automated Tests name: "Run Automated Tests"
on: on:
push: push:
@ -11,13 +11,10 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
node-version: [10.x, 12.x, 14.x] node-version: [10.x, 12.x, 14.x]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}