Skip to content

Commit 00da946

Browse files
committed
ci: add python-test-root job
1 parent 627876e commit 00da946

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,15 @@ jobs:
101101
- run: pip install --no-cache-dir pytest
102102
- run: python -m pytest tests/ -v
103103

104+
python-test-root:
105+
needs: changes
106+
if: needs.changes.outputs.python == 'true'
107+
runs-on: ubuntu-latest
108+
steps:
109+
- uses: actions/checkout@v6
110+
- run: pip install --no-cache-dir pytest
111+
- run: sudo python -m pytest tests/test_config.py::TestParseConfig::test_config_not_owned_by_root -v
112+
104113
bash-test:
105114
needs: changes
106115
if: needs.changes.outputs.shell == 'true'

0 commit comments

Comments
 (0)