Skip to content

Commit 8205878

Browse files
committed
remove pypy from ci
1 parent 10430aa commit 8205878

1 file changed

Lines changed: 7 additions & 18 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -76,54 +76,43 @@ jobs:
7676

7777
- name: Install
7878
id: install
79-
if: ${{ !startsWith(matrix.version, 'pypy') }}
80-
run: uv sync
81-
82-
- name: Install (PyPy)
83-
id: install_pypy
84-
if: ${{ startsWith(matrix.version, 'pypy') }}
85-
env:
86-
HATCH_BUILD_NO_HOOKS: "1"
87-
HATCH_MYPYC_DISABLE: "1"
88-
MYPYC_NO_BUILD: "1"
89-
SKIP_COMPILE: "1"
9079
run: uv sync
9180

9281
- name: Install jelly-cli
9382
uses: jelly-rdf/setup-cli@v1
94-
if: ${{ !cancelled() && (steps.install.conclusion == 'success' || steps.install_pypy.conclusion == 'success') && matrix['conformance-tests'] }}
83+
if: ${{ !cancelled() && steps.install.conclusion == 'success' && matrix['conformance-tests'] }}
9584

9685
- name: Select protobuf Python backend
9786
if: ${{ matrix.backend == 'python' }}
9887
run: echo "PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python" >> "$GITHUB_ENV"
9988

10089
- name: Run unit tests
101-
if: ${{ !cancelled() && (steps.install.conclusion == 'success' || steps.install_pypy.conclusion == 'success') && !matrix['conformance-tests'] }}
90+
if: ${{ !cancelled() && steps.install.conclusion == 'success' && !matrix['conformance-tests'] }}
10291
run: uv run pytest -vv
10392

10493
- name: Run unit tests (with conformance tests and coverage)
105-
if: ${{ !cancelled() && (steps.install.conclusion == 'success' || steps.install_pypy.conclusion == 'success') && matrix['conformance-tests'] }}
94+
if: ${{ !cancelled() && steps.install.conclusion == 'success' && matrix['conformance-tests'] }}
10695
run: uv run pytest -vv --cov --cov-branch --cov-report=xml
10796

10897
- name: Upload coverage reports to Codecov
10998
uses: codecov/codecov-action@v7
110-
if: ${{ !cancelled() && (steps.install.conclusion == 'success' || steps.install_pypy.conclusion == 'success') && matrix['conformance-tests'] }}
99+
if: ${{ !cancelled() && steps.install.conclusion == 'success' && matrix['conformance-tests'] }}
111100
with:
112101
token: ${{ secrets.CODECOV_TOKEN }}
113102

114103
- name: Check formatting
115104
id: formatting
116-
if: ${{ !cancelled() && (steps.install.conclusion == 'success' || steps.install_pypy.conclusion == 'success') }}
105+
if: ${{ !cancelled() && steps.install.conclusion == 'success' }}
117106
run: uv run ruff format . --diff
118107

119108
- name: Lint
120109
id: linting
121-
if: ${{ !cancelled() && (steps.install.conclusion == 'success' || steps.install_pypy.conclusion == 'success') }}
110+
if: ${{ !cancelled() && steps.install.conclusion == 'success' }}
122111
run: uv run ruff check --output-format github
123112

124113
- name: Check type safety
125114
id: types
126-
if: ${{ !cancelled() && (steps.install.conclusion == 'success' || steps.install_pypy.conclusion == 'success') }}
115+
if: ${{ !cancelled() && steps.install.conclusion == 'success' }}
127116
run: uv run mypy .
128117

129118
check-docs:

0 commit comments

Comments
 (0)