Handle missing descriptions in frontend #35
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: Run brain-cockpit api tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
unittest: | |
name: Test API | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
python_version: "3.7" | |
- os: ubuntu-latest | |
python_version: "3.8" | |
- os: ubuntu-latest | |
python_version: "3.9" | |
- os: ubuntu-latest | |
python_version: "3.10" | |
- os: ubuntu-latest | |
python_version: "3.11" | |
- os: macos-latest | |
python_version: "3.7" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -e .[test] | |
- name: Lint with pflake8 | |
run: | | |
pflake8 api | |
- name: Test with pytest | |
run: | | |
pytest |