Skip to content

Merge pull request #27 from StrategyLogic:dev #15

Merge pull request #27 from StrategyLogic:dev

Merge pull request #27 from StrategyLogic:dev #15

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"]
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: |
pip install --upgrade pip
pip install -e .
pip install -e ".[dev]"
- name: Install test dependencies
run: pip install pytest pytest-cov
- name: Run unit tests
run: |
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