Skip to content

Commit

Permalink
Attempt again to fix issue with test setup on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
prouast committed Jan 4, 2025
1 parent a9272d2 commit c101813
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c101813

Please sign in to comment.