Skip to content

Commit 82540e3

Browse files
committed
fix(ci): execute runtime assertions with direct arguments
1 parent 14a7eb9 commit 82540e3

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎.github/workflows/processing-model.yml‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v4
3030
- run: docker build -t patterns-runner:accepted runner
31-
- run: >-
32-
docker run --rm patterns-runner:accepted sh -c
33-
'test "$(id -u)" = 2000 && runner --help &&
34-
python -c "import importlib.util; assert importlib.util.find_spec(\"pip\") is None"'
31+
- run: |
32+
docker run --rm patterns-runner:accepted runner --help
33+
docker run --rm patterns-runner:accepted python -c 'import importlib.util, os; assert os.getuid() == os.getgid() == 2000; assert importlib.util.find_spec("pip") is None'

0 commit comments

Comments
 (0)