From 458476b14834ce93fc7167186cdfa65d397482ff Mon Sep 17 00:00:00 2001 From: Beq Date: Wed, 30 Aug 2023 23:05:41 +0100 Subject: [PATCH] Allow nightly trigger and fix up Windows python anomalies Allow nightly to be triggered by push to a branch called *nightly* Windows has to expressly insert itself in the path to pickup the right version. --- .github/workflows/build_viewer.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_viewer.yml b/.github/workflows/build_viewer.yml index 055ee924e8..72e7a7464c 100644 --- a/.github/workflows/build_viewer.yml +++ b/.github/workflows/build_viewer.yml @@ -26,21 +26,32 @@ jobs: addrsize: 32 - os: macos-11 addrsize: 32 - - grid: sl - addrsize: 32 + # - grid: sl + # addrsize: 32 runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 - if: runner.os != 'Windows' id: py311 with: python-version: '3.11' cache: 'pip' - - run: pip3 install -r requirements.txt + - run: | + python3 -m pip install -r requirements.txt --user + echo "$HOME/.local/bin" >> $GITHUB_PATH - name: Check python version run: python -V + - name: Check python3 version + run: python3 -V + + - name: Test python llsd + run: | + python - <