File tree Expand file tree Collapse file tree 3 files changed +39
-3
lines changed
Expand file tree Collapse file tree 3 files changed +39
-3
lines changed Original file line number Diff line number Diff line change 55 tags :
66 - ' *'
77
8+ permissions :
9+ contents : read
10+ packages : write
11+
812env :
913 REF_NAME : ${{ github.head_ref || github.ref_name }}
1014
Original file line number Diff line number Diff line change 1+ name : Test conda install
2+
3+ on :
4+ push :
5+ branches :
6+ - " *"
7+ pull_request :
8+ branches :
9+ - " *"
10+
11+ permissions :
12+ contents : read
13+
14+ jobs :
15+ build :
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - uses : actions/checkout@v4
20+
21+ - name : Set up Python 3.10
22+ uses : actions/setup-python@v3
23+ with :
24+ python-version : " 3.10"
25+
26+ - name : Install package
27+ run : |
28+ $CONDA/bin/conda env update --file environment.yml --name base
29+
30+ - name : Test with unittest
31+ run : |
32+ $CONDA/bin/python3 -m unittest discover
Original file line number Diff line number Diff line change 2525
2626 - name : Install package
2727 run : |
28- python -m pip install --upgrade pip
29- python -m pip install .
28+ python3 -m pip install --upgrade pip
29+ python3 -m pip install .
3030
3131 - name : Test with unittest
3232 run : |
33- python -m unittest discover
33+ python3 -m unittest discover
You can’t perform that action at this time.
0 commit comments