Skip to content

[pull] upstream from westerveltco:main #3

[pull] upstream from westerveltco:main

[pull] upstream from westerveltco:main #3

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
env:
FORCE_COLOR: "1"
PYTHONUNBUFFERED: "1"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: westerveltco/setup-ci-action@v0
with:
python-version: "3.12"
python-requirements: requirements-dev.lock
- name: Run tests
run: |
python -m pytest
examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2
- uses: westerveltco/setup-ci-action@v0
with:
python-version: "3.12"
python-requirements: requirements-dev.lock
- name: Setup Git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "actions@users.noreply.github.com"
- name: Generate examples
run: |
just generate-examples