Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Ensure builds are triggered weekly #270

Merged
merged 2 commits into from
Dec 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Deps & CI

on: [push, pull_request]
on:
push:
pull_request:
schedule:
- cron: 0 0 * * 0

jobs:
build-linux:
Expand All @@ -26,7 +30,7 @@ jobs:
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: /var/lib/apt
key: apt-cache-v2
Expand All @@ -46,7 +50,7 @@ jobs:
run: |
sudo apt-get install -y --no-install-recommends fsl

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: /opt/afni
key: afni-v1
Expand All @@ -59,7 +63,7 @@ jobs:
tcsh @update.afni.binaries -package linux_ubuntu_16_64 -bindir ${AFNI_HOME}
fi

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: /opt/ants
key: ants-v1
Expand All @@ -80,7 +84,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v2
- uses: actions/cache@v3
id: conda
with:
path: |
Expand All @@ -101,7 +105,7 @@ jobs:
$CONDA/bin/pip install .[tests]


- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.cache/templateflow
key: tf-cache-v1
Expand All @@ -111,7 +115,7 @@ jobs:
run: |
$CONDA/bin/python tools/cache_templateflow.py

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ env.TEST_DATA_HOME }}
key: data-cache-v1
Expand Down