From cc5e839b321f390e0f812752fc7d2d1499edd98e Mon Sep 17 00:00:00 2001 From: Andrew Yang Date: Tue, 22 Oct 2024 14:51:34 +1100 Subject: [PATCH] chore: python dependencies --- .github/workflows/test-build.yml | 2 +- .github/workflows/ui-tests.yml | 6 ++++-- sample/Tests/requirements.txt | 7 +++++++ 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 sample/Tests/requirements.txt diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 7f480e63..c83b1d65 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -85,7 +85,7 @@ jobs: with: branch: gh-pages folder: build/WebGL/WebGL - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: Build-${{ matrix.targetPlatform }} diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index 9269b65d..bb1b1f67 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -37,11 +37,13 @@ jobs: buildMethod: MacBuilder.BuildForAltTester customParameters: -logFile logFile.log -quit -batchmode - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Build-StandaloneOSX - path: '**' + path: sample/** - uses: actions/setup-python@v4 with: python-version: "3.10" + - name: Install dependencies + run: pip install -r "sample/Tests/requirements.txt" \ No newline at end of file diff --git a/sample/Tests/requirements.txt b/sample/Tests/requirements.txt new file mode 100644 index 00000000..f6ba7653 --- /dev/null +++ b/sample/Tests/requirements.txt @@ -0,0 +1,7 @@ +AltTester_Driver==2.1.1 +google_api_python_client==2.136.0 +google_auth_oauthlib==1.2.0 +protobuf==5.27.2 +selenium==4.22.0 +pytest==8.2.2 +requests==2.32.3 \ No newline at end of file