Skip to content

Reformat.

Reformat. #241

name: Build and Test
on:
push:
schedule:
- cron: "0 9 * * SUN"
jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
defaults:
run:
shell: bash
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: bigladder/github-actions/setup-python-poetry@main
with:
python-version: ${{ matrix.python-version }}
- name: Build and test
run: poetry run doit
# - name: Upload Build Content
# uses: actions/upload-artifact@v4
# with:
# name: build-content-${{ matrix.os }}-py${{ matrix.python-version }}
# path: build
# - name: Lint with Pylint
# run: |
# poetry run pylint lattice