mirror of
https://github.com/PaiGramTeam/PaiGramMetadata.git
synced 2024-11-24 16:19:20 +00:00
32 lines
580 B
YAML
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
|