Skip to content

Commit edb2f83

Browse files
committed
CI: use python 3.8 to match the oldest pytorch-supported version
Also - unpin the pytorch version on CI. - make test report less verbose.
1 parent 723b0ad commit edb2f83

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/basic.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
2727
hashFiles('etc/example-environment.yml') }}
2828
activate-environment: foo
29-
python-version: 3.9
29+
python-version: 3.8
3030
channels: conda-forge
3131
allow-softlinks: true
3232
channel-priority: strict
@@ -37,14 +37,13 @@ jobs:
3737
conda config --add channels conda-forge
3838
conda config --set channel_priority strict
3939
conda info
40-
conda install python==3.9 pytorch==1.13.0 pytest pytest-xdist numpy hypothesis -y
40+
conda install python==3.8 pytorch pytest pytest-xdist numpy hypothesis -y
4141
conda list
4242
conda config --show-sources
43-
# conda config --show
4443
- run: |
4544
echo $PWD
4645
ls -l
4746
- name: Run tests
4847
run: |
49-
pytest torch_np/ -v -s -n 2 --runslow
48+
pytest torch_np/ -s -n 2 --runslow
5049

0 commit comments

Comments
 (0)