chore(deps-dev): bump virtualenv from 20.25.1 to 20.26.6 #4043
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
test: | |
runs-on: galileo | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10"] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: install poetry | |
run: pipx install poetry=="1.7.0" | |
- name: set up python | |
uses: actions/setup-python@v5 | |
with: | |
cache: "poetry" | |
python-version: ${{ matrix.python-version }} | |
cache-dependency-path: "pyproject.toml" | |
- name: install invoke | |
run: pipx install invoke | |
- name: install dependencies | |
run: invoke install | |
# We run the `mypy` check here since it requires all of the packages to be installed. | |
# Doing that in the pre-commit step would be duplicative and spend more time in CI. | |
- name: validate mypy | |
run: invoke type-check | |
- name: run tests | |
run: invoke test |