Skip to content

Add guarded package publication workflow #2

Add guarded package publication workflow

Add guarded package publication workflow #2

Workflow file for this run

name: Tests
on:
push:
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: macos-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- name: Validate repository baseline
run: ./tests/validate.sh
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: "3.x"
- name: Install test dependencies
run: python -m pip install ".[dev]"
- name: Run Python tests
run: python -m pytest