From 61d9976dafdd526509e37699fbb5998f27e04b7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Wed, 20 Dec 2023 16:53:10 -0800 Subject: [PATCH 1/3] CI: enabling cron and workflow dispatch for site building --- .github/workflows/conda.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 55d773fe..79d953c2 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -1,4 +1,4 @@ -name: Build site +name: Build site with conda on: push: @@ -7,6 +7,9 @@ on: pull_request: branches: - main + schedule: + - cron: '0 5 * * 1' + workflow_dispatch: jobs: test: @@ -21,7 +24,7 @@ jobs: shell: bash -l {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: conda-incubator/setup-miniconda@v2 with: auto-update-conda: true @@ -30,7 +33,7 @@ jobs: miniforge-variant: Mambaforge miniforge-version: latest use-mamba: true - python-version: "3.10" + python-version: "3.11" auto-activate-base: false - name: inspect and build id: build_step From 8f6c272ce7ef1e98d9a91da069091e98a0f9f904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Wed, 20 Dec 2023 20:11:15 -0800 Subject: [PATCH 2/3] CI: trying newer miniconda --- .github/workflows/conda.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 79d953c2..e3eb60a6 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -25,7 +25,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: auto-update-conda: true activate-environment: numpy-tutorials From 60df7f7f6b5b6b406881e12a9199d1a7dde658fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Mon, 22 Jan 2024 11:56:56 -0800 Subject: [PATCH 3/3] CI: more descriptive job name [skip ci] --- .github/workflows/conda.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index e3eb60a6..d94eaafb 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -1,4 +1,4 @@ -name: Build site with conda +name: Test building site with conda environment on: push: