Skip to content

Setup and Test

Setup and Test #28

name: Setup and Test
on:
push:
schedule:
- cron: "0 9 * * SUN"
jobs:
build:
name: Setup
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
defaults:
run:
shell: bash
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: Test
run: poetry run doit
- name: Upload output
uses: actions/upload-artifact@v4
with:
name: output-${{ matrix.os }}-py${{ matrix.python-version }}
path: output