Skip to content

Commit 359bca3

Browse files
committed
Revert "Enable pytest"
This reverts commit dbb300d.
1 parent dbb300d commit 359bca3

1 file changed

Lines changed: 1 addition & 78 deletions

File tree

.github/workflows/CI.yml

Lines changed: 1 addition & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file is autogenerated by maturin v1.14.0
22
# To update, run
33
#
4-
# maturin generate-ci github --pytest
4+
# maturin generate-ci github
55
#
66
name: CI
77

@@ -53,36 +53,6 @@ jobs:
5353
with:
5454
name: wheels-linux-${{ matrix.platform.target }}
5555
path: dist
56-
- uses: astral-sh/setup-uv@v7
57-
if: ${{ startsWith(matrix.platform.target, 'x86_64') }}
58-
- name: pytest
59-
if: ${{ startsWith(matrix.platform.target, 'x86_64') }}
60-
shell: bash
61-
run: |
62-
set -e
63-
uv venv .venv
64-
source .venv/bin/activate
65-
uv pip install urlpattern --no-index --no-deps --find-links dist --reinstall
66-
uv pip install urlpattern pytest
67-
pytest
68-
- name: pytest
69-
if: ${{ !startsWith(matrix.platform.target, 'x86') && matrix.platform.target != 'ppc64' }}
70-
uses: uraimo/run-on-arch-action@v2
71-
with:
72-
arch: ${{ matrix.platform.target }}
73-
distro: ubuntu24.04
74-
githubToken: ${{ github.token }}
75-
install: |
76-
apt-get update
77-
apt-get install -y --no-install-recommends python3 python3-venv
78-
run: |
79-
set -e
80-
python3 -m venv .venv
81-
source .venv/bin/activate
82-
pip install pytest
83-
pip install urlpattern --no-index --no-deps --find-links dist --force-reinstall
84-
pip install urlpattern
85-
pytest
8656

8757
musllinux:
8858
runs-on: ${{ matrix.platform.runner }}
@@ -114,34 +84,6 @@ jobs:
11484
with:
11585
name: wheels-musllinux-${{ matrix.platform.target }}
11686
path: dist
117-
- name: pytest
118-
if: ${{ startsWith(matrix.platform.target, 'x86_64') }}
119-
run: |
120-
set -e
121-
docker run --rm -v ${{ github.workspace }}:/io -w /io alpine:latest sh -c '
122-
apk add py3-pip py3-virtualenv
123-
python3 -m virtualenv .venv
124-
source .venv/bin/activate
125-
pip install urlpattern --no-index --no-deps --find-links dist --force-reinstall
126-
pip install urlpattern pytest
127-
pytest
128-
'
129-
- name: pytest
130-
if: ${{ !startsWith(matrix.platform.target, 'x86') }}
131-
uses: uraimo/run-on-arch-action@v2
132-
with:
133-
arch: ${{ matrix.platform.target }}
134-
distro: alpine_latest
135-
githubToken: ${{ github.token }}
136-
install: |
137-
apk add py3-virtualenv
138-
run: |
139-
set -e
140-
python3 -m virtualenv .venv
141-
source .venv/bin/activate
142-
pip install urlpattern --no-index --no-deps --find-links dist --force-reinstall
143-
pip install urlpattern pytest
144-
pytest
14587

14688
windows:
14789
runs-on: ${{ matrix.platform.runner }}
@@ -174,16 +116,6 @@ jobs:
174116
with:
175117
name: wheels-windows-${{ matrix.platform.target }}
176118
path: dist
177-
- uses: astral-sh/setup-uv@v7
178-
- name: pytest
179-
shell: bash
180-
run: |
181-
set -e
182-
uv venv .venv
183-
source .venv/Scripts/activate
184-
uv pip install urlpattern --no-index --no-deps --find-links dist --reinstall
185-
uv pip install urlpattern pytest
186-
pytest
187119

188120
macos:
189121
runs-on: ${{ matrix.platform.runner }}
@@ -210,15 +142,6 @@ jobs:
210142
with:
211143
name: wheels-macos-${{ matrix.platform.target }}
212144
path: dist
213-
- uses: astral-sh/setup-uv@v7
214-
- name: pytest
215-
run: |
216-
set -e
217-
uv venv .venv
218-
source .venv/bin/activate
219-
uv pip install urlpattern --no-index --no-deps --find-links dist --reinstall
220-
uv pip install urlpattern pytest
221-
pytest
222145

223146
sdist:
224147
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)