@@ -52,68 +52,28 @@ jobs:
5252 matrix :
5353 os : [macos-latest, ubuntu-latest, windows-latest]
5454 python-version : ['3.11', '3.12', '3.13']
55- install : ['wheel']
56- include :
57- - os : ' ubuntu-latest'
58- python-version : ' 3.11'
59- install : ' sdist'
60- - os : ' ubuntu-latest'
61- python-version : ' 3.11'
62- install : ' repo'
63- - os : ' ubuntu-latest'
64- python-version : ' 3.11'
65- install : ' archive'
6655 fail-fast : false
6756 runs-on : ${{ matrix.os }}
6857
6958
7059 steps :
71- - name : Fetch sdist/wheel
72- uses : actions/download-artifact@v4
73- if : matrix.install == 'sdist' || matrix.install == 'wheel'
74- with :
75- name : dist
76- path : dist/
77- - name : Fetch git archive
78- uses : actions/download-artifact@v4
79- if : matrix.install == 'archive'
80- with :
81- name : archive
82- path : archive/
8360 - name : Fetch repository
8461 uses : actions/checkout@v4
85- if : matrix.install == 'repo'
8662
8763 - name : Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
8864 uses : actions/setup-python@v5
8965 with :
9066 python-version : ${{ matrix.python-version }}
67+
9168 - name : Update pip
9269 run : python -m pip install --upgrade pip
9370
94- - name : Determine installation target
95- run : |
96- if [[ "$INSTALL" = "sdist" ]]; then
97- echo "ARCHIVE=$( ls dist/*.tar.gz )" >> $GITHUB_ENV
98- elif [[ "$INSTALL" = "wheel" ]]; then
99- echo "ARCHIVE=$( ls dist/*.whl )" >> $GITHUB_ENV
100- elif [[ "$INSTALL" = "archive" ]]; then
101- echo "ARCHIVE=$( ls archive/*.zip )" >> $GITHUB_ENV
102- elif [[ "$INSTALL" = "repo" ]]; then
103- echo "ARCHIVE=." >> $GITHUB_ENV
104- fi
105- env :
106- INSTALL : ${{ matrix.install }}
107-
10871 - name : Install Pydra
109- run : pip install $ARCHIVE
72+ run : pip install .[test]
11073
11174 - name : Print version
11275 run : python -c "import pydra.engine; print(pydra.engine.__version__)"
11376
114- - name : Install Pydra tests dependencies
115- run : pip install pydra[test]
116-
11777 - name : Disable etelemetry
11878 run : echo "NO_ET=TRUE" >> $GITHUB_ENV
11979
0 commit comments