Run tests for GitHub Runner #546
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: pytest-github-runner | |
run-name: Run tests for GitHub Runner | |
on: [push] | |
jobs: | |
pytest: | |
strategy: | |
matrix: | |
python-version: ["3.7.17", "3.11.4"] | |
name: pytest-github-runner-python-${{ matrix.python-version }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install .[tests] | |
- name: Run pytest | |
env: | |
PYTEST_ADDOPTS: "--color=yes" | |
run: | | |
python -m pytest -v --github-runner |