upgrade to modern python #575
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: integration | |
# This workflow is triggered on pushes to the repository. Testing! | |
on: [push] | |
jobs: | |
build: | |
# Job name is test-mundey | |
name: test-ticktack | |
# This job runs on Linux | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@master | |
- name: python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.11' # Version range or exact version of a Python version to use, using semvers version range syntax. | |
architecture: 'x64' # (x64 or x86) | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest | |
pip install -r requirements.txt | |
- run: | |
python setup.py install | |
name: 'Install ticktack' | |
- run: pytest tests/*.py | |
name: 'Run pytest' |