diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..bca1f2b --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index c5c12f2..02bb04e 100644 --- a/README.md +++ b/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 +``` \ No newline at end of file