added pytest_safe.yml

This commit is contained in:
2025-12-31 16:55:05 -05:00
parent ec5975d663
commit 9aea31e841
2 changed files with 20 additions and 1 deletions

19
.github/workflows/pytest_safe.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: pytest_safe
on:
push:
branches:
- main
pull_request:
branches:
- main
merge_group:
jobs:
pytest:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Run tests
run: unshare --map-root-user --user --net -- pytest tests