8000 Add github actions · graphql-python/graphql-ws@e651c95 · GitHub
[go: up one dir, main page]

Skip to content

Commit e651c95

Browse files
committed
Add github actions
1 parent a360cf6 commit e651c95

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
tags:
7+
- v[0-9]+.[0-9]+.[0-9]+
8+
pull_request:
9+
branches: [main]
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
max-parallel: 5
16+
matrix:
17+
python-version: ['2.7', '3.6', '3.7', '3.8', '3.9']
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v2
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
26+
- name: Install Dependencies
27+
run: |
28+
pip install -U tox-travis
29+
- name: Run Tests
30+
run: tox

0 commit comments

Comments
 (0)
0