General changes related to making repo public (#27) #6
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
run_tests: | |
name: Run pytest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Install python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11.x | |
- name: Install dependencies | |
run: | | |
pip3 install --upgrade pip | |
pip3 install -r requirements.txt | |
- name: Run tests | |
run: | | |
python -m pytest | |