Skip to content

Adding mongo access #43

Adding mongo access

Adding mongo access #43

Workflow file for this run

name: Unit Tests
on:
pull_request:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: |
cd tailor-app/frontend
npm ci
- name: front-end tests
run: |
cd tailor-app/frontend
npm test
- name: back-end package installation
run: |
cd tailor-app/backend
python3 -m pip install -r requirements.txt
- name: back-end testing
run: |
cd tailor-app/backend
python3 -m pytest tests/