1
Fork 0
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:
Steffo 2020-07-30 23:15:33 +02:00
parent e90221d1b6
commit 27dcf5c764

24
.github/workflows/check.yml vendored Normal file
View 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