[feat] Introduce post-collect jobs (#40) #107
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: Check PR fix-collect-coordinator | |
on: | |
push: | |
tags: | |
- '*.*.*' | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
collect-single: | |
name: 'fix-collect-coordinator' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
architecture: 'x64' | |
- name: Restore dependency cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: ${{runner.os}}-pip-${{hashFiles('**/pyproject.toml')}} | |
restore-keys: | | |
${{runner.os}}-pip- | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip tox | |
- name: Run tests | |
run: tox |