Skip to content

Commit 085236d

Browse files
committed
Switch from TravisCI to Github Actions
1 parent fb2d32e commit 085236d

File tree

2 files changed

+43
-18
lines changed

2 files changed

+43
-18
lines changed

.github/workflows/build.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- gha
7+
tags:
8+
- v*
9+
pull_request:
10+
11+
jobs:
12+
modernize:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
node-version: [14.x]
18+
python-version: [3.6, 3.7, 3.8]
19+
os: [macOS-latest, ubuntu-latest, windows-latest]
20+
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v1
24+
- name: Set Up Python ${{ matrix.python-version }}
25+
uses: actions/setup-python@v1
26+
with:
27+
python-version: ${{ matrix.python-version }}
28+
- name: Set Up Node ${{ matrix.node-version }}
29+
uses: actions/setup-node@v1
30+
with:
31+
node-version: ${{ matrix.node-version }}
32+
- name: Install
33+
run: |
34+
pip install tox
35+
- name: Test
36+
run: tox -e py${{ matrix.python-version[0] }}${{ matrix.pythos-version[2] }}
37+
- name: Lint
38+
run: tox -e lint
39+
- name: Coveralls
40+
env:
41+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
42+
run: tox -e coveralls
43+
continue-on-error: true

.travis.yml

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

0 commit comments

Comments
 (0)