5dad8c7a14
* Initial Push Inititial project state * Static demo version * static demo site - added variables a * first_implementation * Updated UI, Improved Style to be more "Reactly", added Functionality * add parsing functions * change folder * Import/Export Prototype * Adding "reactjs-popup" to package,json * Adding GLPK source * Preparing for deplyment workflow * Adding workflow * Moving test file to __tests__ * Removing German texts * Setting up Unit Testing using jest --------- Co-authored-by: moebiusl <lucas.moebius@icloud.com> Co-authored-by: Marcel Pöppe <marcel.poeppe@gmail.com>
27 lines
422 B
YAML
27 lines
422 B
YAML
name: Run Tests
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
workflow_dispatch:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: '20'
|
|
|
|
- name: Install dependencies
|
|
run: npm install
|
|
|
|
- name: Run tests
|
|
run: npm test
|