Skip to content

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

[C] Update pypi update and fixed rasterize numpy error

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

Workflow file for this run

name: Pull Request
on:
pull_request:
branches: [main]
paths-ignore:
# - "**/version.h"
- "doc/**"
- "**.md"
jobs:
ci:
name: CI
runs-on: [self-hosted, unicorn]
strategy:
matrix:
python-version:
- "3.10"
- "3.12"
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build wheels
uses: pypa/cibuildwheel@v3.1.4
with:
package-dir: .
output-dir: wheelhouse
config-file: "{package}/pyproject.toml"
- name: Set up Python (host)
uses: actions/setup-python@v5
with:
check-latest: true
python-version: ${{ matrix.python-version }}
- name: Lint with Pylint
run: |
python3 -m pip install pylint
python3 -m pylint pyface --rcfile=.github/workflows/.pylintrc
# - name: Install Dependencies
# run: |
# python3 -m pip install -U pip
# python3 -m pip install pytest pylint pytest-cov typeguard
# python3 -m pip install wheelhouse/*cp${{ matrix.python-version }}*.whl
# - name: Run Tests with Pytest
# run: |
# mkdir -p tests/coverage && \
# python3 -m pytest tests --junitxml=tests/coverage/cov-junitxml.xml \
# --cov=pyface | tee tests/coverage/cov.txt
# - name: Pytest Coverage Comment
# id: coverageComment
# uses: MishaKav/pytest-coverage-comment@main
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# pytest-coverage-path: tests/coverage/cov.txt
# junitxml-path: tests/coverage/cov-junitxml.xml
- name: Clean artifacts
if: always()
run: rm -rf dist wheelhouse build *.egg-info