ci: Don't re-run CI for deploy

This commit is contained in:
Bu5hm4nn
2026-04-07 12:52:45 +02:00
parent b2bc4db41a
commit 4ca4752bfb
2 changed files with 39 additions and 102 deletions

View File

@@ -30,26 +30,6 @@ jobs:
- name: Run black
run: black --check app tests scripts
test:
runs-on: [linux, docker]
container:
image: catthehacker/ubuntu:act-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
set -x
python -m pip install --upgrade pip
pip install pytest pytest-asyncio httpx
pip install nicegui fastapi uvicorn yfinance polars pandas pydantic pyyaml
pip list
- name: Run tests
run: pytest -v --tb=short
type-check:
runs-on: [linux, docker]
container:
@@ -70,5 +50,25 @@ jobs:
- name: Run mypy
run: |
echo "Running mypy on core modules..."
mypy app/core app/models app/strategies app/services app/domain --ignore-missing-imports --show-error-codes --show-traceback
echo "Type check completed successfully"
mypy app/core app/models app/strategies app/services app/domain --show-error-codes --show-traceback
echo "Type check completed successfully"
test:
runs-on: [linux, docker]
container:
image: catthehacker/ubuntu:act-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
set -x
python -m pip install --upgrade pip
pip install pytest pytest-asyncio httpx
pip install nicegui fastapi uvicorn yfinance polars pandas pydantic pyyaml
pip list
- name: Run tests
run: pytest -v --tb=short