Skip to content

Commit b54fb08

Browse files
authored
Merge pull request #106 from pradyunsg/change-ci
2 parents 624d251 + 6c8cf8e commit b54fb08

File tree

2 files changed

+28
-18
lines changed

2 files changed

+28
-18
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
pre-commit:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-python@v2
14+
- uses: pre-commit/[email protected]
15+
16+
tests:
17+
runs-on: ubuntu-latest
18+
strategy:
19+
matrix:
20+
python: [3.6, 3.7, 3.8]
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: actions/setup-python@v2
24+
with:
25+
python-version: ${{ matrix.python }}
26+
27+
- run: pip install nox
28+
- run: nox -s test-${{ matrix.python }}

.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)