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 02fbe30 commit a9272d2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,19 @@ jobs:
python -m pip install ".[test]"
- name: Set development API_URL for non-main branches
if: github.ref != 'refs/heads/main'
run: echo API_URL=https://api.rouast.com/vitallens-dev >> %GITHUB_ENV%
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 }}
- 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 a9272d2

Please sign in to comment.