Create .github/workflows/ci.yml
Browse files- .github/workflows/ci.yml +17 -0
.github/workflows/ci.yml
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: CI
|
2 |
+
|
3 |
+
on: [push]
|
4 |
+
|
5 |
+
jobs:
|
6 |
+
test:
|
7 |
+
runs-on: ubuntu-latest
|
8 |
+
services:
|
9 |
+
redis:
|
10 |
+
image: redis
|
11 |
+
ports: ['6379:6379']
|
12 |
+
steps:
|
13 |
+
- uses: actions/checkout@v3
|
14 |
+
- uses: actions/setup-python@v4
|
15 |
+
with: python-version: '3.10'
|
16 |
+
- run: pip install -r requirements.txt
|
17 |
+
- run: pytest --maxfail=1 --disable-warnings -q
|