File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 \
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
You can’t perform that action at this time.
0 commit comments