Skip to content

Commit 1acd96f

Browse files
author
ZhengLin Li
committed
fix: move travis CI to GitHub Action
1 parent 7be6700 commit 1acd96f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/CI.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
3+
on: [ push, pull_request ]
4+
5+
jobs:
6+
ci:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-python@v4
11+
with:
12+
python-version: '3.10'
13+
- run: |
14+
python -m pip install --upgrade pip
15+
pip install -r requirements.txt
16+
./bugs.py check
17+
./bugs.py export_database
18+
flake8 bugs.py
19+
pylint bugs.py

0 commit comments

Comments
 (0)