# Synced from open-economic-quant/Microstructure/.github/workflows/ci.yml by # scripts/sync_ecosystem.py; edit it in the monorepo, not here. name: CI on: push: branches: ["main"] pull_request: branches: ["main"] permissions: contents: read jobs: test: runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Set up Python 3.12 uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: "3.12" cache: pip cache-dependency-path: pyproject.toml - name: Install project with test dependencies run: | python -m pip install --upgrade pip python -m pip install -e ".[dev]" - name: Run tests run: python -m pytest