File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 - run : python -m twine check dist/*
3636 - name : Smoke-test the built wheel
3737 run : |
38+ # The X11 backend opens a display at import time, so the runner
39+ # needs a virtual one. Import from outside the checkout as well:
40+ # the repo root shadows site-packages on sys.path, so running this
41+ # here would test the source tree instead of the built wheel.
42+ sudo apt-get update && sudo apt-get install -y xvfb
3843 python -m venv /tmp/wheel-test
3944 /tmp/wheel-test/bin/pip install dist/*.whl
40- /tmp/wheel-test/bin/python -c "import je_auto_control.api"
45+ cd /tmp && xvfb-run -a /tmp/wheel-test/bin/python -c "
46+ import je_auto_control, je_auto_control.api
47+ print('imported', je_auto_control.__file__)
48+ "
4149 - uses : actions/attest-build-provenance@v2
4250 with :
4351 subject-path : " dist/*"
You can’t perform that action at this time.
0 commit comments