Test latest release #25
This file contains 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: Test v1 release | |
on: # yamllint disable-line rule:truthy | |
workflow_dispatch: | |
schedule: | |
- cron: "0 4 1 * *" | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [macos-14, macos-13, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: pyvista/setup-headless-display-action@v2 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- run: pip install pyvista | |
- name: Use PyVista | |
run: python -c "import pyvista;pyvista.Sphere().plot(screenshot='${{ matrix.os }}-sphere.png')" | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.os }}-sphere | |
path: ${{ matrix.os }}-sphere.png | |
if-no-files-found: error |