diff --git a/.github/scripts/install-deps-smoke-test.sh b/.github/scripts/install-deps-smoke-test.sh new file mode 100755 index 000000000..061e6e950 --- /dev/null +++ b/.github/scripts/install-deps-smoke-test.sh @@ -0,0 +1 @@ +python3 -m pip install packaging diff --git a/.github/workflows/build-wheels-aarch64-linux.yml b/.github/workflows/build-wheels-aarch64-linux.yml index 6bd4fd1ac..164e2df22 100644 --- a/.github/workflows/build-wheels-aarch64-linux.yml +++ b/.github/workflows/build-wheels-aarch64-linux.yml @@ -34,6 +34,7 @@ jobs: include: - repository: pytorch/tensordict smoke-test-script: test/smoke_test.py + env-script: .github/scripts/install-deps-smoke-test.sh package-name: tensordict name: pytorch/tensordict uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main diff --git a/.github/workflows/build-wheels-linux.yml b/.github/workflows/build-wheels-linux.yml index b6fb57098..09afd984d 100644 --- a/.github/workflows/build-wheels-linux.yml +++ b/.github/workflows/build-wheels-linux.yml @@ -33,6 +33,7 @@ jobs: include: - repository: pytorch/tensordict smoke-test-script: test/smoke_test.py + env-script: .github/scripts/install-deps-smoke-test.sh package-name: tensordict name: pytorch/tensordict uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main diff --git a/.github/workflows/build-wheels-m1.yml b/.github/workflows/build-wheels-m1.yml index 6609cb5ae..39cc8e19b 100644 --- a/.github/workflows/build-wheels-m1.yml +++ b/.github/workflows/build-wheels-m1.yml @@ -33,6 +33,7 @@ jobs: include: - repository: pytorch/tensordict smoke-test-script: test/smoke_test.py + env-script: .github/scripts/install-deps-smoke-test.sh package-name: tensordict name: pytorch/tensordict uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main