Move from price effect to +/- for numbers #337
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python application | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- uses: yezz123/setup-uv@v4 | |
- name: Setup uv venv | |
run: | | |
uv sync | |
- name: Lint with ruff | |
run: | | |
uv run ruff check . | |
- name: Type check with mypy | |
run: | | |
uv run mypy -p tastytrade | |
uv run mypy -p tests | |
- name: Test with pytest | |
run: | | |
uv run pytest --cov=tastytrade --cov-report=term-missing tests/ --cov-fail-under=95 | |
env: | |
TT_USERNAME: ${{ secrets.TT_USERNAME }} | |
TT_PASSWORD: ${{ secrets.TT_PASSWORD }} | |
TT_ACCOUNT: ${{ secrets.TT_ACCOUNT }} |