Skip to content

Merge pull request #17 from francois-drielsma/develop #36

Merge pull request #17 from francois-drielsma/develop

Merge pull request #17 from francois-drielsma/develop #36

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
container: deeplearnphysics/larcv2:ub20.04-cuda11.3-cudnn8-pytorch1.10.0-extra
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout repository
uses: actions/checkout@v3
- name: Check latest commits
run: git log
- name: Create folder for dataset
run: mkdir -p /sdf/group/neutrino/data/mpvmpr_2020_01_v04/
- name: Download dataset
run: wget http://stanford.edu/~ldomine/mpvmpr_2020_01_v04_small.root -O /sdf/group/neutrino/data/mpvmpr_2020_01_v04/test.root
- name: Create folder for weight
run: mkdir -p /sdf/group/neutrino/ldomine/chain/me/v04/weights_inter_clustering9/
- name: Download weight
run: wget --load-cookies i/tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1e3uroE9PU6IaZhUApfuRpDbSd2m3Tgi-' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1e3uroE9PU6IaZhUApfuRpDbSd2m3Tgi-" -O /sdf/group/neutrino/ldomine/chain/me/v04/weights_inter_clustering9/snapshot-49999.ckpt && rm -rf /tmp/cookies.txt
# Run pytest
- name: Run pytest
run: pytest --import-mode=importlib $GITHUB_WORKSPACE/test