Skip to content

Change default energy ratio #509

Change default energy ratio

Change default energy ratio #509

Workflow file for this run

name: Tests
on:
push:
branches:
- main
paths-ignore:
- '*.md'
pull_request:
branches:
- main
paths-ignore:
- '*.md'
jobs:
tests:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- {name: Linux, python: '3.11', os: ubuntu-latest, nox: "tests"}
- {name: Windows, python: '3.10', os: windows-latest, nox: "tests"}
- {name: Mac, python: '3.10', os: macos-latest, nox: "tests"}
- {name: Py312, python: '3.12', os: ubuntu-latest, nox: "tests"}
- {name: Py310, python: '3.10', os: ubuntu-latest, nox: "tests"}
- {name: Lint, python: '3.11', os: ubuntu-latest, nox: "lint"}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Update pip and install nox
run: |
pip install --upgrade pip
pip install nox
- name: Run pip compile
run: nox --session=compile
- name: Run tests
run: nox --session=${{ matrix.nox }} --python=${{ matrix.python }}