Skip to content

Commit

Permalink
📐 update test yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MariePretorius authored Jun 2, 2024
1 parent 567a5e3 commit 0835042
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/testCoveralls.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
on: ["push", "pull_request"]

name: Test Coveralls

on:
- push
- pull_request

jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- uses: actions/checkout@v1

- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x

- name: run tests
run: |
npm install
cd Backend
npm run test:cov
- name: Install dependencies and run tests
run: |
npm install
cd Backend
npm run test:cov
- name: Coveralls
uses: coverallsapp/github-action@v2
- name: Coveralls
uses: coverallsapp/github-action@v2

0 comments on commit 0835042

Please sign in to comment.