This repository has been archived by the owner on Oct 30, 2023. It is now read-only.
fix: requirements/requirements.txt to reduce vulnerabilities (#70) #234
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: Checks in a Pull Request | |
on: | |
push: | |
jobs: | |
python: | |
strategy: | |
matrix: | |
include: | |
- python_version: "3.8" | |
runs-on: ubuntu-20.04 | |
env: | |
ENV_FILE: ".env/.env.test" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- name: install dependencies | |
run: | | |
bash ci/setup.sh | |
- name: lint | |
run: | | |
bash ci/lint_python.sh | |
- name: test | |
run: | | |
export ENV_FILE="${{ env.ENV_FILE }}" | |
bash ci/run_python_tests.sh |