3 Commits

Author SHA1 Message Date
d9ac4a458c Fix docker container startup script
All checks were successful
Run Tests / run-tests (push) Successful in 40s
Build & Release / build-docker-image (push) Successful in 1m44s
Build & Release / deploy-to-production (push) Successful in 7s
2026-05-02 16:18:53 +02:00
9932fd8b52 Do not run tests on tags
All checks were successful
Run Tests / run-tests (push) Successful in 40s
Build & Release / build-docker-image (push) Successful in 1m42s
Build & Release / deploy-to-production (push) Successful in 7s
2026-05-02 16:04:04 +02:00
18a0bd77bd Require tests pass before publishing new version
All checks were successful
Run Tests / run-tests (push) Successful in 44s
2026-05-02 15:48:44 +02:00
2 changed files with 8 additions and 2 deletions

View File

@@ -1,8 +1,13 @@
name: Run Tests name: Run Tests
on: on:
push: {} workflow_dispatch:
push:
branches:
- '**'
env: env:
RUNNER_TOOL_CACHE: /toolcache RUNNER_TOOL_CACHE: /toolcache
jobs: jobs:
run-tests: run-tests:
runs-on: python runs-on: python

View File

@@ -1,7 +1,8 @@
#!/usr/bin/env sh #!/usr/bin/env sh
set -e
STREAMLIT_SECRETS_LOCATION=".streamlit/secrets.toml" STREAMLIT_SECRETS_LOCATION=".streamlit/secrets.toml"
touch STREAMLIT_SECRETS_LOCATION touch $STREAMLIT_SECRETS_LOCATION
SQLITE_DATABASE="/data/daily-counter.db" SQLITE_DATABASE="/data/daily-counter.db"
SQLITE_DATABASE_URL="sqlite://$SQLITE_DATABASE" SQLITE_DATABASE_URL="sqlite://$SQLITE_DATABASE"