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:
|
||||
pull_request:
|
||||
|
|
@ -9,7 +9,7 @@ on:
|
|||
- main
|
||||
|
||||
jobs:
|
||||
frontend-test:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
|
@ -19,12 +19,14 @@ jobs:
|
|||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '18'
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm ci
|
||||
working-directory: ./client
|
||||
- name: Install Dependencies and Run Tests
|
||||
run: |
|
||||
npm ci
|
||||
npm test
|
||||
working-directory: ${{ matrix.directory }}
|
||||
|
||||
- name: Run Tests
|
||||
run: npm test
|
||||
working-directory: ./client
|
||||
strategy:
|
||||
matrix:
|
||||
directory: [client, server]
|
||||
|
|
|
|||
Loading…
Reference in a new issue