Skip to content

Commit

Permalink
Merge pull request #270 from mgxd/ci/auto-build
Browse files Browse the repository at this point in the history
CI: Ensure builds are triggered weekly
  • Loading branch information
effigies authored Dec 3, 2022
2 parents 07ee004 + b49f5e7 commit a2bc54c
Showing 1 changed file with 11 additions and 7 deletions.
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

0 comments on commit a2bc54c

Please sign in to comment.