File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 33
33
python -m pip install --extra-index-url https://download.pytorch.org/whl/nightly/cu116 --pre torch
34
34
# Can import pytorch, cuda is available
35
35
python -c 'import torch;assert(torch.cuda.is_available())'
36
+ test-upload-artifact :
37
+ uses : ./.github/workflows/windows_job.yml
38
+ with :
39
+ runner : windows.4xlarge
40
+ test-infra-repository : ${{ github.repository }}
41
+ test-infra-ref : ${{ github.ref }}
42
+ upload-artifact : my-cool-artifact
43
+ script : |
44
+ echo "hello" > "${RUNNER_ARTIFACT_DIR}/cool_beans"
45
+ test-download-artifact :
46
+ needs : test-upload-artifact
47
+ uses : ./.github/workflows/windows_job.yml
48
+ with :
49
+ runner : windows.4xlarge
50
+ test-infra-repository : ${{ github.repository }}
51
+ test-infra-ref : ${{ github.ref }}
52
+ download-artifact : my-cool-artifact
53
+ script : |
54
+ grep "hello" "${RUNNER_ARTIFACT_DIR}/cool_beans"
You can’t perform that action at this time.
0 commit comments