Skip to content

[C] Update pypi update and fixed rasterize numpy error #9

[C] Update pypi update and fixed rasterize numpy error

[C] Update pypi update and fixed rasterize numpy error #9

Workflow file for this run

name: Pull Request for GPU Device
on:
pull_request:
branches: [main]
paths-ignore:
- "doc/**"
- "**.md"
jobs:
ci:
name: CI
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.12"]
runs-on: ["self-hosted", "unicorn"]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
lfs: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
check-latest: true
- name: Install Dependencies
run: |
python -m pip install -U pip wheel "numpy>=2" "cython>=3.0.12" "setuptools>=69"
python setup.py build_ext --inplace
python -m pip install .
- name: Lint with Pylint
run: |
python -m pip install pylint
python -m pylint pyface --rcfile=.github/workflows/.pylintrc
- name: Run Tests with Pytest
run: |
mkdir -p tests/coverage
python -m pip install pytest pytest-cov typeguard
python -m pytest tests --junitxml=tests/coverage/cov-junitxml.xml --cov=pyface
- name: Surface failing tests
if: always()
uses: pmeier/pytest-results-action@main
with:
path: tests/coverage/cov-junitxml.xml
summary: true
display-options: fEX
fail-on-empty: true
title: Test results
- name: Clean artifacts
if: always()
run: rm -rf dist wheelhouse build *.egg-info