doc: update docs for new self-host options #43
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: Voilib back-end tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
working-directory: ./backend | |
run: | | |
sudo apt-get install -y ffmpeg | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install .[dev] | |
- name: Lint with ruff | |
working-directory: ./backend | |
run: | | |
ruff check --target-version=py39 . | |
- name: Test with pytest | |
working-directory: ./backend | |
run: | | |
pytest |