summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/analysis-notebook-test-binder.yml18
1 files changed, 3 insertions, 15 deletions
diff --git a/.github/workflows/analysis-notebook-test-binder.yml b/.github/workflows/analysis-notebook-test-binder.yml
index f47a715..b4e5469 100644
--- a/.github/workflows/analysis-notebook-test-binder.yml
+++ b/.github/workflows/analysis-notebook-test-binder.yml
@@ -3,30 +3,18 @@
name: analysis-notebook-test-binder
# Controls when the action will run. Triggers the workflow on push or pull request
-# events but only for the master branch
+# events but only for the main branch
on:
push:
- branches: [ 2-set-up-binder-1 ]
+ branches: [ main ]
pull_request:
- branches: [ 2-set-up-binder-1 ]
+ branches: [ main ]
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '5 4 * * 0'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
- # We would ideally have two jobs here called "build" and "test"
- # However, in order to do that we would have to publish the image as an artifact
- # to share it between jobs
- # https://help.github.com/en/actions/configuring-and-managing-workflows/persisting-workflow-data-using-artifacts
- # and it looks like the generated image is too large
- # https://github.com/MobilityNet/mobilitynet-analysis-scripts/runs/613707818?check_suite_focus=true
- # -rw-r--r-- 1 runner docker 3.3G Apr 23 21:37 /tmp/mobilitynet_84f67fcad71c.tar
- # Filesystem Size Used Avail Use% Mounted on
- # /dev/sda1 84G 79G 5.1G 94% /
- # https://github.com/MobilityNet/mobilitynet-analysis-scripts/runs/612938777?check_suite_focus=true
- # Fail to upload '/tmp/mobilitynet_ec3aba6d029f.tar' due to 'Blob is incomplete (missing block).
- # while we figure out how to trim that, we have to run them as steps in the same job
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest