Skip to content

3 [davidbrownell] on GitHub #3

3 [davidbrownell] on GitHub

3 [davidbrownell] on GitHub #3

Workflow file for this run

name: "Standard"
run-name: ${{ github.run_number }} [${{ github.actor }}] on ${{ github.ref_name }}
on:
pull_request:
branches:
- main
push:
branches:
- main
schedule:
- cron: '0 0 * * *' # Once a day at 12am UTC
workflow_dispatch:
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
strategy:
matrix:
python_version:
- "3.12"
- "3.11"
- "3.10"
env:
COLUMNS: "200"
SIMULATE_TERMINAL_CAPABILITIES_SUPPORTS_COLORS: "1"
PYTHONIOENCODING: "UTF-8"
permissions: {}
steps:
- name: "Checkout Source"
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Initialize
id: Initialize
uses: davidbrownell/dbrownell_DevTools/.github/actions/initialize@CI-v0.21.0
with:
operating_system: ubuntu-latest
- name: Bootstrap
shell: bash
run: |
./Bootstrap.sh --python-version ${{ matrix.python_version }}
- name: Black
shell: bash
run: |
. ./Activate.sh
python Build.py black --verbose
- name: Pytest
shell: bash
run: |
. ./Activate.sh
python Build.py pytest --verbose