Bump actions/setup-python from 4 to 5 (#22) #70
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: Continuous Build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# See https://github.com/actions/runner-images/issues/6185 | |
- name: Install keyring for python | |
run: sudo apt install gnome-keyring | |
- name: Set up Python 3.9.18 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9.18 | |
- name: Set up Poetry | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: 1.6.1 | |
- name: Install dependencies | |
run: poetry install --with dev | |
- name: Test with pytest | |
run: poetry run pytest ./tests |