Bump tox from 4.18.0 to 4.20.0 #168
Workflow file for this run
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 test | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Main | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v3 | |
- name: Set up Python and test | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9.13 | |
- name: Install Poetry | |
run: pip install poetry==1.4.2 | |
- name: Cache Poetry virtualenv | |
uses: actions/cache@v3 | |
id: cache | |
with: | |
path: ~/.virtualenvs | |
key: poetry-$ | |
restore-keys: | | |
poetry-$ | |
- name: Install Python dependencies | |
run: poetry install | |
if: steps.cache.outputs.cache-hit != 'true' | |
- name: Tests | |
run: poetry run tox -e py |