PaiGramMetadata/.github/workflows/pr.yml
2023-12-02 18:43:03 +08:00

32 lines
580 B
YAML

name: PR Check for gcsim scripts
on:
pull_request:
paths:
- 'gcsim/scripts/**'
types:
- opened
- synchronize
- reopened
jobs:
pr-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Dependencies
run: |
python -m pip install -r gcsim/requirements.txt
- name: Check GCSIM scripts
run: |
python gcsim/main.py pr