File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -18,19 +18,19 @@ jobs:
1818 brew update
1919 brew install python@${{ matrix.python }} gcc libxml2 libxmlsec1 pkg-config
2020 echo "/home/linuxbrew/.linuxbrew/opt/python@${{ matrix.python }}/libexec/bin" >> $GITHUB_PATH
21- - name : Install python dependencies
21+ - name : Build wheel
2222 run : |
23+ python3 -m venv build_venv
24+ source build_venv/bin/activate
2325 pip3 install --upgrade setuptools wheel build
24- - name : Build linux_x86_64 wheel
25- run : |
2626 export CFLAGS="-I$(brew --prefix)/include"
2727 export LDFLAGS="-L$(brew --prefix)/lib"
2828 python3 -m build
2929 rm -rf build/
30- - name : Install test dependencies
30+ - name : Run tests
3131 run : |
32+ python3 -m venv test_venv
33+ source test_venv/bin/activate
3234 pip3 install --upgrade -r requirements-test.txt
3335 pip3 install xmlsec --only-binary=xmlsec --no-index --find-links=dist/
34- - name : Run tests
35- run : |
3636 pytest -v --color=yes
You can’t perform that action at this time.
0 commit comments