#476 #470 Add unit test for -ot option (online lindemann calculation) #1336
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: ["3.9","3.10","3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
run: pipx install poetry | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'poetry' | |
- name: Install Ubuntu-specific dependencies | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libgl1-mesa-dev | |
- name: Install dependencies | |
run: | | |
poetry config virtualenvs.in-project true | |
poetry install | |
- name: Run safety checks | |
run: make check-safety | |
env: | |
STRICT: 1 | |
- name: Run style checks | |
run: make check-style | |
env: | |
STRICT: 1 | |
- name: Run tests | |
run: | | |
make test | |
automerge: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: fastify/github-action-merge-dependabot@v2.5.0 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} |