add action to install requirements.txt #2
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: Python Prepro | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
python -m pip install -U pip | |
pip install -r dev_requirements.txt | |
pip install -r requirements.txt | |
- name: Test with pytest | |
run: | | |
python -m pytest tests/test_unit_citycode_class.py tests/test_unit_proptransactions_class.py | |
- name: code formatter | |
run: | | |
python -m isort . | |
python -m black * |