Bump micromatch from 4.0.5 to 4.0.8 in /frontend #626
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test CI | |
on: | |
- pull_request | |
jobs: | |
backend-test: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
working-directory: ./ | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r ./backend/requirements.txt | |
- name: Running Django tests | |
run: | | |
source /home/selab2/hosting/.env.test | |
sh ./backend/runtests.sh | |
frontend-test: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node.js v18. | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.17.0 | |
- name: Install your dependencies | |
working-directory: ./frontend | |
run: npm ci | |
- name: Run Fronted tests | |
working-directory: ./frontend | |
run: npx jest --silent |