Skip to content

Commit 30763b6

Browse files
authoredNov 5, 2024··
Merge pull request #331 from jonathangreen/bugfix/linuxbrew-workflow
Fix linuxbrew workflow
2 parents ab3a1a0 + f0fa15f commit 30763b6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
 

‎.github/workflows/linuxbrew.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-latest
66
strategy:
77
matrix:
8-
python: ["3.8", "3.9", "3.10", "3.11"]
8+
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
99
steps:
1010
- uses: actions/checkout@v3
1111
- name: Install brew
@@ -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
31-
run: |
32-
pip3 install --upgrade -r requirements-test.txt
33-
pip3 install xmlsec --only-binary=xmlsec --no-index --find-links=dist/
3430
- name: Run tests
3531
run: |
32+
python3 -m venv test_venv
33+
source test_venv/bin/activate
34+
pip3 install --upgrade --no-binary=lxml -r requirements-test.txt
35+
pip3 install xmlsec --only-binary=xmlsec --no-index --find-links=dist/
3636
pytest -v --color=yes

0 commit comments

Comments
 (0)
Please sign in to comment.