Commit d396d5d 1 parent 2faee4a commit d396d5d Copy full SHA for d396d5d
File tree 1 file changed +12
-4
lines changed
1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 11
11
12
12
permissions :
13
13
contents : read
14
+ pull-requests : write
14
15
15
16
jobs :
16
17
build :
17
18
18
19
runs-on : ubuntu-latest
19
20
20
21
steps :
21
- - uses : actions/checkout@v4
22
+ - uses : actions/checkout@v3
22
23
- name : Set up Python 3.11
23
24
uses : actions/setup-python@v3
24
25
with :
25
26
python-version : " 3.11"
27
+ - name : Add conda
28
+ run : |
29
+ echo $CONDA/bin >> $GITHUB_PATH
26
30
- name : Install dependencies
27
31
run : |
28
- python -m pip install --upgrade pip
29
- pip install pytest
30
- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32
+ conda install mamba -c conda-forge
33
+ mamba env update --file environment.yml --name asp_plot
34
+ source $CONDA/etc/profile.d/conda.sh
35
+ conda activate asp_plot
36
+ pip install .
31
37
- name : Test with pytest
32
38
run : |
39
+ source $CONDA/etc/profile.d/conda.sh
40
+ conda activate asp_plot
33
41
pytest
You can’t perform that action at this time.
0 commit comments