Skip to content

Commit

Permalink
main not master
Browse files Browse the repository at this point in the history
  • Loading branch information
Graeme22 committed Sep 24, 2024
1 parent 3540b0f commit d9068c1
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Python application

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
build:
Expand All @@ -16,16 +16,12 @@ jobs:
with:
python-version: "3.12"
- uses: yezz123/setup-uv@v4
- name: Lint with ruff
- name: Lint, type check, and test
- 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 d9068c1

Please sign in to comment.