Skip to content

chore: add design docs and repository files #6

chore: add design docs and repository files

chore: add design docs and repository files #6

Workflow file for this run

name: Tests
on:
pull_request:
branches: [main]
paths:
- "polytopax/**"
- "tests/**"
- "pyproject.toml"
push:
branches: [main]
paths:
- "polytopax/**"
- "tests/**"
- "pyproject.toml"
jobs:
test-py310:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]" || pip install -e .
pip install pytest-cov matplotlib seaborn pandas scikit-learn
- name: Run tests
run: |
pytest --cov=polytopax
- name: Upload coverage report
uses: codecov/codecov-action@v4
if: false
with:
file: .coverage
fail_ci_if_error: false
test-py311:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]" || pip install -e .
pip install pytest-cov matplotlib seaborn pandas scikit-learn
- name: Run tests
run: |
pytest --cov=polytopax
- name: Upload coverage report
uses: codecov/codecov-action@v4
if: false
with:
file: .coverage
fail_ci_if_error: false
test-py312:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]" || pip install -e .
pip install pytest-cov matplotlib seaborn pandas scikit-learn
- name: Run tests
run: |
pytest --cov=polytopax
- name: Upload coverage report
uses: codecov/codecov-action@v4
if: false
with:
file: .coverage
fail_ci_if_error: false