Skip to content

PR Validation Checker #86

PR Validation Checker

PR Validation Checker #86

name: PR Validation Checker
on:
issue_comment:
types: [created]
jobs:
pr_commented:
name: Validate PR
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, 'validate') }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest] # macos-latest not tested due to crashing.
version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
ref: refs/pull/${{ github.event.issue.number }}/head
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.version }}
- run: python -m pip install -r requirements.txt
- run: python run_all_tests.py -a