Skip to content

Update installer.yml #666

Update installer.yml

Update installer.yml #666

Workflow file for this run

name: PyTest
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pyvista/setup-headless-display-action@v3
with:
qt: true
pyvista: false
- run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'poetry'
- run: poetry install --with dev
- run: |
poetry run coverage run -m pytest
- run: poetry run coveralls
env:
GITHUB_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}