~linuxgoose/bocpress

ref: ec246ee90f42b7e7b98d0ad2733b80b60884e64f bocpress/.build.yml -rw-r--r-- 758 bytes
ec246ee9Jordan Robinson remove: unused docs site files 13 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
image: ubuntu/24.04
packages:
  - curl
  - postgresql
tasks:
  - test: |
      curl -LsSf https://astral.sh/uv/0.8.8/install.sh | sh
      ~/.local/bin/uv run python -V
      sudo -u postgres psql -U postgres -d postgres -c "ALTER USER postgres WITH PASSWORD 'postgres';"
      cd mataroa/
      export DEBUG=1
      export SECRET_KEY='thisisthesecretkey'
      export DATABASE_URL='postgres://postgres:postgres@localhost:5432/postgres'
      ~/.local/bin/uv run manage.py collectstatic --noinput
      ~/.local/bin/uv run manage.py test
  - lint: |
      curl -LsSf https://astral.sh/uv/0.8.8/install.sh | sh
      ~/.local/bin/uv run python -V
      cd mataroa/
      ~/.local/bin/uv run ruff check
      ~/.local/bin/uv run djade main/templates/**/*.html