This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
fix: debug to false #304
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: Backend | |
on: [push] | |
jobs: | |
lint: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: pip install -r backend/requirements.txt | |
- name: Lint code | |
run: ruff check backend | |
- name: Run Pyright | |
run: pyright | |
test: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: pip install -r backend/requirements.txt | |
- name: Run tests | |
run: cd backend && python -m unittest discover tests | |
env: | |
TEST_DB_USER: githubactions |