-
Notifications
You must be signed in to change notification settings - Fork 3
53 lines (43 loc) · 1.55 KB
/
caseologue_python.yml
File metadata and controls
53 lines (43 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: caseologue python
on:
workflow_call:
inputs:
edam_path:
type: string
required: true
caseologue_options:
type: string
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: edamontology/caseologue
# with:
# This will automatically check out the branch that triggered the workflow
# within the current repository.
# repository: ${{ github.repository }}
# ref: ${{ github.ref }}
- name: download artifacts
uses: actions/download-artifact@v4
with:
name: input_ontology
- name: Display structure of files
run: ls -R
- name: Install requirements
run: |
pip install --force-reinstall --no-cache-dir setuptools wheel pip
pip install --force-reinstall importlib-metadata
pip install -r caseologue_python/requirements.txt
- name: run
run: |
cd caseologue_python/
printf "\n_____________________________________________________________________________________________\n\nThe following debug table is archived as an artifact called 'output_caseologue'\n_____________________________________________________________________________________________\n\n"
EDAM_PATH=${{inputs.edam_path}} python3 caseologue.py ${{inputs.caseologue_options}}
- name: Archive test outputs
if: always()
uses: actions/upload-artifact@v4
with:
name: output_caseologue
path: caseologue_python/output_caseologue.tsv