Skip to content

Validate and Build #373

Validate and Build

Validate and Build #373

name: Validate and Build
on:
push:
schedule:
- cron: "0 9 * * SUN"
jobs:
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
name: ${{ matrix.os }} with py${{ matrix.python-version }}
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: Validate, 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