Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Graeme22 committed Sep 24, 2024
1 parent d9068c1 commit 1ebf7ca
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,20 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
- uses: actions/setup-python@v4
uses: actions/setup-python@v4
with:
python-version: "3.12"
- uses: yezz123/setup-uv@v4
- name: Lint, type check, and test
- run: |
- name: Lint with ruff
run: |
uv run ruff check tradestation/
uv run ruff check tests/
env:
TS_API_KEY: ${{ secrets.TS_API_KEY }}
- name: Type check with mypy
run: |
uv run mypy -p tradestation
uv run mypy -p tests
- name: Test with pytest
run: |
uv run pytest --cov=tradestation --cov-report=term-missing tests/ --cov-fail-under=95
env:
TS_API_KEY: ${{ secrets.TS_API_KEY }}

0 comments on commit 1ebf7ca

Please sign in to comment.