forked from Lightning-AI/pytorch-lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
39 lines (34 loc) · 1.03 KB
/
action.yml
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
name: Adjust App environment
description: make adjustment specific for selected App
inputs:
name:
description: application name
required: true
runs:
using: "composite"
steps:
- name: adjust env -> Flashy
if: inputs.name == 'flashy'
working-directory: tests/_flagship-app
run: |
ls -l .
pip install -r requirements-dev.txt -f $TORCH_URL
pip install -e . -f $TORCH_URL
shell: bash
- name: adjust env -> Muse
if: inputs.name == 'muse'
working-directory: tests/
run: |
pip install -e _flagship-app -f $TORCH_URL
cp _flagship-app/tests/test_app.py \
integrations_app/flagship/test_${{ inputs.name }}.py
shell: bash
- name: adjust env -> Jupyter
if: inputs.name == 'jupyter'
working-directory: tests/
run: |
pip install -e _flagship-app -f $TORCH_URL
# pip install -r _flagship-app/tests/requirements-dev.txt
cp _flagship-app/tests/test_jupyter_app.py \
integrations_app/flagship/test_${{ inputs.name }}.py
shell: bash