Merge to master #41
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: Merge to master | |
run-name: Merge to master | |
on: | |
pull_request: | |
branches: | |
- master | |
types: | |
- closed | |
push: | |
branches: | |
- master | |
jobs: | |
testing: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Check our style | |
run: | | |
poetry env use python3.11 | |
poetry install | |
poetry run flake8 | |
poetry run pytest |