Generate HTML output and send it to Slack, make output files downloadable in the web UI #29
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: "Tests" | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/tests.yml" | |
- "argo_jupyter_scheduler/**" | |
push: | |
branches: | |
- main | |
jobs: | |
pre-commit: | |
name: "pre-commit" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout repo" | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: "Setup Python" | |
uses: actions/setup-python@v3 | |
- name: "Run pre-commit" | |
uses: pre-commit/[email protected] | |
pytest: | |
name: "pytest" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
fail-fast: false | |
steps: | |
- name: "Checkout repo" | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: "Setup Python" | |
uses: actions/setup-python@v3 | |
- name: "Install package" | |
run: | | |
pip install .[dev] | |
- name: "Test package" | |
run: | | |
pytest --version | |
pytest -vvv |