From c101813102b5d4ea2439d78f7bad93b778b8515a Mon Sep 17 00:00:00 2001 From: Philipp Rouast Date: Sun, 5 Jan 2025 08:13:45 +1100 Subject: [PATCH] Attempt again to fix issue with test setup on windows --- .github/workflows/main.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 291a64c..58819c1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -66,19 +66,12 @@ jobs: python -m pip install ".[test]" - name: Set development API_URL for non-main branches if: github.ref != 'refs/heads/main' - run: echo "Setting development API_URL" - env: - API_URL: "https://api.rouast.com/vitallens-dev" - - name: Confirm API_URL is set - run: echo "API_URL=${API_URL}" - env: - API_URL: ${{ env.API_URL }} + run: echo "API_URL=https://api.rouast.com/vitallens-dev" | Out-File -FilePath $env:GITHUB_ENV -Append - name: Lint with flake8 run: | flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - name: Test with pytest env: - API_URL: ${{ env.API_URL }} VITALLENS_DEV_API_KEY: ${{ secrets.VITALLENS_DEV_API_KEY }} run: | pytest