Skip to content

Commit

Permalink
Create testing.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
e19166 authored Jul 16, 2024
1 parent 7d497e6 commit 5993dc6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Testing

on:
workflow_dispatch:

jobs:
tests:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
path: e19-CO328-ACES-Project-Fund-Requests # Adjust to match your repository structure

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20' # Adjust to the Node.js version used in your project

- name: Install dependencies
run: |
cd e19-CO328-ACES-Project-Fund-Requests/Frontend
npm install
- name: Run tests
run: |
cd e19-CO328-ACES-Project-Fund-Requests/Frontend
npm install axios-mock-adapter --save-dev
npm test

0 comments on commit 5993dc6

Please sign in to comment.