Skip to content

Commit daad59c

Browse files
committed
Update GitHub Actions workflow to use 'dev-adam-appeears' branch and add local testing for actions
1 parent 2c14094 commit daad59c

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/targets.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,10 @@ jobs:
5353
steps:
5454
- uses: actions/checkout@v2
5555
with:
56-
ref: main
56+
ref: dev-adam-appeears
5757
lfs: true
5858
- name: Whitelist directory
5959
run: git config --global --add safe.directory /__w/emma_envdata/emma_envdata
60-
# - name: Checkout LFS objects
61-
# run: git lfs checkout
62-
# continue-on-error: true
6360
- name: Install R Package Dependencies
6461
run: |-
6562
Rscript -e "questionr::qscan(list.files(pattern='*.R',recursive=T), load = TRUE, detail = TRUE)" # this scans all scripts and installs any needed packages

ccr_startup.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,11 @@ apptainer run \
1818
--bind $PROJECT_FOLDER:$PROJECT_FOLDER \
1919
--bind $APPTAINER_CACHEDIR/tmp:/tmp \
2020
--bind $APPTAINER_CACHEDIR/run:/run \
21-
$SIF_PATH/$SIF_FILE R
21+
$SIF_PATH/$SIF_FILE R
22+
23+
24+
25+
# Test github actions locally
26+
act -j targets \
27+
--platform ubuntu-latest=adamwilsonlab/emma:latest \
28+
--container-architecture linux/amd64

0 commit comments

Comments
 (0)