S-Dreamer commited on
Commit
67a01eb
·
verified ·
1 Parent(s): c0d03a5

Create .github/workflows/ci.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/ci.yml +26 -0
.github/workflows/ci.yml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ pull_request:
6
+
7
+ jobs:
8
+ build-and-check:
9
+ runs-on: ubuntu-latest
10
+
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v4
14
+
15
+ - name: Setup Python
16
+ uses: actions/setup-python@v5
17
+ with:
18
+ python-version: "3.10"
19
+
20
+ - name: Install deps
21
+ run: |
22
+ pip install --upgrade pip
23
+ pip install -r requirements.txt
24
+
25
+ - name: Syntax check
26
+ run: python -m compileall .