Updated python version + new builds #15
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: build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python3 -m venv venv | |
. venv/bin/activate | |
pip install setuptools wheel twine | |
pip install -r requirements.txt | |
- name: run tests | |
env: | |
RETRY_ATTEMPTS: 1 | |
run: | | |
. venv/bin/activate | |
pip install nose2 | |
nose2 |