Skip to content

Merge pull request #45 from StrategyLogic:release/pro-demo #80

Merge pull request #45 from StrategyLogic:release/pro-demo

Merge pull request #45 from StrategyLogic:release/pro-demo #80

Workflow file for this run

# Runs unit tests.
name: "🧪 Unit Testing"
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .
python -m pip install -e ".[dev]"
- name: Install test dependencies
run: python -m pip install pytest pytest-cov
- name: Run unit tests
run: |
python -m pytest tests/unit tests/contract/ tests/test_smoke.py --cov --cov-branch --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: StrategyLogic/omen