[infra] switch to poetry #2
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: pre-merge | |
on: | |
push: | |
branches: [ devel ] | |
pull_request: | |
branches: [ devel ] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Ubuntu Version | |
run: cat /etc/lsb-release | |
- name: Python Version | |
run: python3 --version | |
- name: Setup Virtual Environment | |
run: | | |
source ./venv.bash | |
- name: Tox - Tests [py38] | |
# fast this time around since the last step did the installation, venv.bash will only check here | |
run: | | |
source ./venv.bash | |
tox -e py38 | |
- name: Tox - Code and Doc Style [flake8] | |
run: | | |
source ./venv.bash | |
tox -e flake8 | |
# Runs a single command using the runners shell | |
- name: Froody | |
run: echo I am froody, you should be too |