File tree Expand file tree Collapse file tree 1 file changed +19
-21
lines changed Expand file tree Collapse file tree 1 file changed +19
-21
lines changed Original file line number Diff line number Diff line change 11name : act-workflow
2+
23on :
34 push :
45 branches :
@@ -16,42 +17,39 @@ permissions:
1617 pages : write
1718
1819jobs :
19- install-reqs-n-run-scripts :
20- name : install-py-reqs
20+ install-py-reqs :
21+ name : Install Python Requirements
2122 runs-on : ubuntu-latest
22-
2323 steps :
24- - name : checkout code
24+ - name : Checkout code
2525 uses : actions/checkout@v4
2626
27- - name : set up python
27+ - name : Set up Python
2828 uses : actions/setup-python@v4
2929 with :
3030 python-version : " 3.9"
3131
32- - name : install pyreqs
32+ - name : Install Python requirements
3333 run : pip install -r requirements.txt
3434
35- name : install-r-reqs
35+ install-r-reqs :
36+ name : Install R Requirements
3637 runs-on : ubuntu-latest
37-
3838 steps :
39- - name : set up R
39+ - name : Set up R
4040 uses : r-lib/actions/setup-r@v2
4141
42- - name : install rreqs
42+ - name : Install R requirements
4343 run : Rscript ./R_requirements.R
4444
45-
46- name : run orchestrator
47- runs-on : ubuntu-latest
48-
49- steps :
50- - name : run orchestrator
51- run : current_date=$(date +"%Y-%m-%d")\
52- python3 ./code/orchestrate.py -i '/Volumes/VossLab/Repositories/Accelerometer_Data/' -token 'DE4E2DB72778DACA9B8848574107D2F5P' | tee > ./out/log-{}.txt'
53-
54- - name : checkout code
45+ run-orchestrator :
46+ name : Run Orchestrator
47+ runs-on : ubuntu-latest
48+ steps :
49+ - name : Checkout code
5550 uses : actions/checkout@v4
5651
57-
52+ - name : Run orchestrator script
53+ run : |
54+ current_date=$(date +"%Y-%m-%d")
55+ python3 ./code/orchestrate.py -i '/Volumes/VossLab/Repositories/Accelerometer_Data/' -token 'DE4E2DB72778DACA9B8848574107D2F5P' | tee ./out/log-${current_date}.txt
You can’t perform that action at this time.
0 commit comments