-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathaction.yml
More file actions
32 lines (31 loc) · 993 Bytes
/
action.yml
File metadata and controls
32 lines (31 loc) · 993 Bytes
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
name: Install eitprocessing
description: Install eitprocessing on the given Python version.
inputs:
python-version:
description: "The Python version to use"
required: false
default: "3.10"
dependencies:
description: "The optional dependencies of eitprocessing to install"
required: false
token:
description: "GitHub TOKEN"
required: true
zenodo-record-id:
description: "Zenodo record ID for test dataset"
required: false
default: "17423608"
runs:
using: "composite"
steps:
- uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
- uses: actions/cache@v4
id: cache-python-env
with:
path: ~/.cache/pip
key: ${{ inputs.python-version }}-${{ hashFiles('pyproject.toml') }}-[${{ inputs.dependencies }}]
- name: Install eitprocessing with [${{ inputs.dependencies }}] dependencies
run: python3 -m pip install ".[${{ inputs.dependencies }}]"
shell: bash