mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 11:34:18 +00:00
Create check Github Action
This commit is contained in:
parent
e90221d1b6
commit
27dcf5c764
1 changed files with 24 additions and 0 deletions
24
.github/workflows/check.yml
vendored
Normal file
24
.github/workflows/check.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: Syntax check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.8'
|
||||
- name: Check commands
|
||||
run: python -m py_compile royalpack/commands/__init__.py
|
||||
- name: Check events
|
||||
run: python -m py_compile royalpack/events/__init__.py
|
||||
- name: Check stars
|
||||
run: python -m py_compile royalpack/stars/__init__.py
|
||||
- name: Check tables
|
||||
run: python -m py_compile royalpack/tables/__init__.py
|
Loading…
Reference in a new issue