ci: run the test suite on pull requests
Runs on pull_request_target so the workflow always comes from main, on the confined runner tier. Installs CPU-only torch before the package so pip does not pull the CUDA build, then runs pytest. .dejima/allowed-domains declares the hosts the job fetches from.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
deb.debian.org
|
||||
security.debian.org
|
||||
pypi.org
|
||||
files.pythonhosted.org
|
||||
download.pytorch.org
|
||||
download-r2.pytorch.org
|
||||
Reference in New Issue
Block a user