From e11be34a663d33d3067eb37f9a30eab700d77b1c Mon Sep 17 00:00:00 2001 From: calproencrip Date: Sat, 31 Oct 2026 04:34:37 -0700 Subject: [PATCH] Fix #14: Survival curve --- .github/workflows/survival.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/survival.yml diff --git a/.github/workflows/survival.yml b/.github/workflows/survival.yml new file mode 100644 index 0000000..d40fb32 --- /dev/null +++ b/.github/workflows/survival.yml @@ -0,0 +1,22 @@ +name: Survival + +on: + schedule: + - cron: "0 6 * * 1" + workflow_dispatch: + +jobs: + survival: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.11" + - name: Install dependencies + run: pip install -r requirements.txt + - name: Run survival job + env: + DATABASE_URL: ${{ secrets.DATABASE_URL }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: python -m hackproof survival \ No newline at end of file