Skip to content

Commit

Permalink
disable pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Oct 27, 2024
1 parent 928f7aa commit 99794be
Showing 1 changed file with 1 addition and 36 deletions.
37 changes: 1 addition & 36 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is autogenerated by maturin v1.7.4
# To update, run
#
# maturin generate-ci github -o .github/workflows/python-publish.yml --pytest --platform manylinux windows
# maturin generate-ci github -o .github/workflows/python-publish.yml --platform manylinux windows
#
name: CI

Expand Down Expand Up @@ -53,31 +53,6 @@ jobs:
with:
name: wheels-linux-${{ matrix.platform.target }}
path: dist
- name: pytest
if: ${{ startsWith(matrix.platform.target, 'x86_64') }}
shell: bash
run: |
set -e
python3 -m venv .venv
source .venv/bin/activate
pip install fusion_neutron_utils --find-links dist --force-reinstall
pip install pytest
# pytest
- name: pytest
if: ${{ !startsWith(matrix.platform.target, 'x86') && matrix.platform.target != 'ppc64' }}
uses: uraimo/run-on-arch-action@v2
with:
arch: ${{ matrix.platform.target }}
distro: ubuntu22.04
githubToken: ${{ github.token }}
install: |
apt-get update
apt-get install -y --no-install-recommends python3 python3-pip
pip3 install -U pip pytest
run: |
set -e
pip3 install fusion_neutron_utils --find-links dist --force-reinstall
# pytest

windows:
runs-on: ${{ matrix.platform.runner }}
Expand Down Expand Up @@ -105,16 +80,6 @@ jobs:
with:
name: wheels-windows-${{ matrix.platform.target }}
path: dist
- name: pytest
if: ${{ !startsWith(matrix.platform.target, 'aarch64') }}
shell: bash
run: |
set -e
python3 -m venv .venv
source .venv/Scripts/activate
pip install fusion_neutron_utils --find-links dist --force-reinstall
pip install pytest
# pytest

sdist:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 99794be

Please sign in to comment.