mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Copilot gave me a parallelized test script (front back)-end
This commit is contained in:
parent
c0de854843
commit
ff6d12e972
1 changed files with 11 additions and 9 deletions
20
.github/workflows/tests.yml
vendored
20
.github/workflows/tests.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: Frontend Tests
|
name: Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
@ -9,7 +9,7 @@ on:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
frontend-test:
|
tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -19,12 +19,14 @@ jobs:
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '18'
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies and Run Tests
|
||||||
run: npm ci
|
run: |
|
||||||
working-directory: ./client
|
npm ci
|
||||||
|
npm test
|
||||||
|
working-directory: ${{ matrix.directory }}
|
||||||
|
|
||||||
- name: Run Tests
|
strategy:
|
||||||
run: npm test
|
matrix:
|
||||||
working-directory: ./client
|
directory: [client, server]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue