Copilot gave me a parallelized test script (front back)-end

This commit is contained in:
C. Fuhrman 2024-10-03 18:12:46 -04:00
parent c0de854843
commit ff6d12e972

View file

@ -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:
@ -21,10 +21,12 @@ jobs:
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]