fix: frontend/package.json & frontend/package-lock.json to reduce vul… #1560
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: Python tests | |
on: | |
push: | |
jobs: | |
build: | |
name: Check code | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Install needed tools | |
run: sudo apt-get -y install python3-pip | |
- name: Install general prerequisities | |
run: pip3 install wheel setuptools pytest pyopenssl | |
working-directory: app | |
- name: Install requirements | |
run: pip3 install -r requirements.txt | |
working-directory: app | |
- name: Run tests | |
run: PATH=$PATH:~/.local/bin pytest | |
working-directory: app |