Skip to content

chore(deps): bump the github-actions group with 3 updates (#3196) #2512

chore(deps): bump the github-actions group with 3 updates (#3196)

chore(deps): bump the github-actions group with 3 updates (#3196) #2512

name: Check Tests for Unspecific XFails
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
Check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: check xfails
run: if grep -ro "@pytest.mark.xfail()" tests/; then echo "xfails must catch a specific error, e.g. '@pytest.mark.xfail(raises=NotImplementedError)'" && exit 1; else echo "success" && exit 0; fi