This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
build(deps): bump flask from 2.3.2 to 2.3.3 #143
Workflow file for this run
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: CI Process | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
ci: | |
name: Run CI pipeline. | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: [3.8, 3.9] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set Up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install -r requirements_dev.txt | |
- name: Run pre-commit hooks against codebase | |
run: | | |
pre-commit install | |
pre-commit run --all-files | |
if [ $? -ne 0 ] | |
then | |
echo "Pre-commit hooks failed." | |
exit 1 | |
else | |
exit 0 | |
fi | |
- name: Run application tests | |
run: pytest |