add tests
All checks were successful
Test bankfind / Python ${{ matrix.python-version }} sample (3.8) (push) Successful in 1m7s

This commit is contained in:
Austin Godber 2024-07-23 07:41:20 -07:00
parent 61f8507a76
commit d482417504
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,25 @@
name: Test bankfind
run-name: ${{ gitea.actor }} is testing out bankfind 🐍
on:
- push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8' ]
name: Python ${{ matrix.python-version }} sample
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- run: |
python --version
pip install -U pip
pip install pytest coverage pytest-cov
pip install -r requirements.txt
pytest

View File

@ -70,3 +70,16 @@ data = bf.get_institutions(filters="STNAME:Colorado AND SUBCHAPS:0 AND CB:1")
## License ## License
This project is licensed under the terms of the MIT license. This project is licensed under the terms of the MIT license.
## Development
### Running Tests Locally
```bash
brew install python@3.8
mkvirtualenv -p /opt/homebrew/bin/python3.8 bankfind
pip install -U pip
pip install pytest coverage pytest-cov
pip install -r requirements.txt
pytest
```