Replace forum options with account settings #1863
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.12"] | |
services: | |
postgres: | |
image: postgres:15 | |
env: | |
POSTGRES_USER: misago | |
POSTGRES_PASSWORD: misago | |
POSTGRES_DB: misago | |
ports: | |
- 5432:5432 | |
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 | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e . | |
- name: Pytest | |
env: | |
DJANGO_SETTINGS_MODULE: devproject.test_settings | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
POSTGRES_DB: misago | |
POSTGRES_USER: misago | |
POSTGRES_PASSWORD: misago | |
POSTGRES_HOST: localhost | |
MISAGO_PLUGINS: plugins | |
run: | | |
pytest --cov=misago | |
- name: Linters | |
run: | | |
black --check . | |
ruff misago/notifications misago/apiv2 | |
- name: Publish to coveralls.io | |
uses: coverallsapp/github-action@v2 |