add tests
All checks were successful
Test bankfind / Python ${{ matrix.python-version }} sample (3.8) (push) Successful in 1m7s
All checks were successful
Test bankfind / Python ${{ matrix.python-version }} sample (3.8) (push) Successful in 1m7s
This commit is contained in:
parent
61f8507a76
commit
d482417504
25
.gitea/workflows/test.yaml
Normal file
25
.gitea/workflows/test.yaml
Normal 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
|
13
README.md
13
README.md
@ -70,3 +70,16 @@ data = bf.get_institutions(filters="STNAME:Colorado AND SUBCHAPS:0 AND CB:1")
|
||||
## 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
|
||||
```
|
Loading…
Reference in New Issue
Block a user