Trapi validation #49
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: 'Pull Request Feedback' | |
on: | |
pull_request: | |
jobs: | |
test: | |
name: Run pytest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
name: Setup python | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
- name: Install requirements | |
run: pip install -r requirements.txt | |
- run: pip install -r requirements-runners.txt | |
- run: pip install -r requirements-test.txt | |
- name: Run tests and get output | |
run: pytest | |
check-format: | |
name: Check that code matches Black formatter | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: psf/black@stable |