From 926f3847e0393fd09604f0243d0c8634770726fc Mon Sep 17 00:00:00 2001 From: Cellan Hall Date: Sun, 10 Mar 2024 20:56:52 +0000 Subject: [PATCH] Set OS path dynamically I have a sneaky suspicions that the jobs failed due to an incorrect path --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37255888..f7432cf2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,6 +78,14 @@ jobs: with: python-version: '3.11' + - name: Update PATH + if: ${{ matrix.os != 'windows' }} + run: echo "$HOME/.local/bin" >> $GITHUB_PATH + + - name: Update Path for Windows + if: ${{ matrix.os == 'windows' }} + run: echo "$APPDATA\Python\Scripts" >> $GITHUB_PATH + - run: pip install docker requests - run: pip install -e . @@ -90,3 +98,4 @@ jobs: - run: cargo test +