Check polyhedron_faces when determining equivalency #13672
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: VTK Master Testing | |
on: | |
pull_request: | |
push: | |
branches: | |
# To resolve issues on VTK master and test, use this branch name pattern | |
- "maint/vtk-master*" | |
workflow_dispatch: | |
schedule: | |
- cron: "0 4 * * *" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
ALLOW_PLOTTING: true | |
SHELLOPTS: "errexit:pipefail" | |
TOX_COLORED: "yes" | |
jobs: | |
VTK-master: | |
# only for pull requests, run only when 'vtk_master' label exists | |
if: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'vtk-master') }} | |
name: Linux VTK Master Testing | |
permissions: | |
contents: read | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"] | |
steps: | |
- uses: actions/checkout@v5 | |
with: | |
fetch-depth: 2 | |
persist-credentials: false | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: "pip" | |
- uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 | |
with: | |
packages: xvfb | |
version: 3.0 | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.local/share/pyvista/examples | |
key: Examples-1-${{ hashFiles('*') }} | |
restore-keys: | | |
Examples-1- | |
- name: Install tox-uv | |
run: pip install tox-uv | |
- name: Core Testing (no GL) | |
run: tox run -e py${{ matrix.python-version }}-core-vtk_dev | |
- name: Plotting Testing (uses GL) | |
if: always() | |
run: xvfb-run -a tox run -e py${{ matrix.python-version }}-plotting-vtk_dev | |
- name: Upload Generated Images | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: debug_images-${{ github.job }}-${{ join(matrix.* , '-') }} | |
path: debug_images |