Skip to content

Update python-test-3d.yml #8

Update python-test-3d.yml

Update python-test-3d.yml #8

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions

Check failure on line 1 in .github/workflows/python-test-3d.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/python-test-3d.yml

Invalid workflow file

you may only define one of `paths` and `paths-ignore` for a single event
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Tests3D
on:
workflow_call:
inputs:
event_type:
required: true
type: string
action_type:
required: true
type: string
workflow_dispatch:
push:
branches: [main, dev]
paths-ignore:
- '.devcontainer/**'
- '.github/**'
paths:
- 'warmth/warmth3d/**'
pull_request:
types: [assigned]
paths:
- 'warmth/warmth3d/**'
jobs:
build:
environment: test3d
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run
uses: tj-actions/docker-run@v2
with:
image: ghcr.io/equinor/warmth:latest
name: dolfinx
options: -v ${{ github.workspace }}:/home/warmth
- name: Comment coverage
if: ${{ github.event_name == 'pull_request' && github.event.action == 'opened' }}
uses: coroo/[email protected]
with:
pytest-coverage: pytest-coverage.txt