Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytest not needed in publishing #8

Merged
merged 1 commit into from
Oct 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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