Skip to content

Commit f0e5941

Browse files
committed
updated workflow file
1 parent c9b77af commit f0e5941

1 file changed

Lines changed: 5 additions & 17 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
"test two liner"
3535
podman images
3636
37-
- name: start container
37+
- name: start container and run pytest
3838
run: |
3939
echo $PYXALIGN_CI_TEST_DATA_DIR
4040
podman run --rm --env DISPLAY \
@@ -44,20 +44,8 @@ jobs:
4444
--env PYXALIGN_CI_TEST_DATA_DIR=$PYXALIGN_CI_TEST_DATA_DIR \
4545
-v=$PYXALIGN_CI_TEST_DATA_DIR:$PYXALIGN_CI_TEST_DATA_DIR \
4646
pyxalign-actions-runner-image:latest bash -c \
47-
"pip install pytest && cd pyxalign && pytest"
47+
"pip install pytest && cd pyxalign && pytest -s"
4848
49-
# - name: container cleanup
50-
# run: |
51-
# podman rmi pyxalign-actions-runner-image
52-
53-
54-
# Use something like this. I also need to update it to mount the data directory.
55-
# podman run -it --rm --env DISPLAY --security-opt label=type:container_runtime_t --network host -v="$HOME/.Xauthority:/root/.Xauthority:rw" --device nvidia.com/gpu=all pyxalign:latest bash
56-
57-
# podman build -t pyxalign-actions-runner-image .
58-
59-
# git add .github/workflows/python-app.yml
60-
# git commit -m "update"
61-
# git push origin update-actions
62-
63-
# echo "CUDA_VISIBLE_DEVICES=1" >> $GITHUB_ENV
49+
- name: container cleanup
50+
run: |
51+
podman rmi pyxalign-actions-runner-image

0 commit comments

Comments
 (0)