~linuxgoose/bocpress

ref: 74b8eaa5e0e62bc5f51c755585a7239e21126e49 bocpress/.build.yml -rw-r--r-- 758 bytes
74b8eaa5Jordan Robinson fix button text colour on dark mode 2 months 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