8000 Move from travis to github actions. (#404) · python/core-workflow@f1b2d35 · GitHub
[go: up one dir, main page]

Skip to content

Commit f1b2d35

Browse files
authored
Move from travis to github actions. (#404)
1 parent 482a7b0 commit f1b2d35

File tree

2 files changed

+38
-49
lines changed

2 files changed

+38
-49
lines changed

.github/workflows/tests.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build_ubuntu:
13+
strategy:
14+
matrix:
15+
python:
16+
- '3.6'
17+
- '3.7'
18+
- '3.8'
19+
- '3.9'
20+
name: ${{ matrix.python }}
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v2
24+
- uses: actions/setup-python@v2
25+
with:
26+
python-version: ${{ matrix.python }}
27+
- name: setup
28+
run: |
29+
python --version
30+
python -m pip install --upgrade pip
31+
python -m pip install --upgrade flit
32+
- name: install
33+
run: |
34+
cd blurb
35+
flit install
36+
- name: test
37+
run: |
38+
blurb test

.travis.yml

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

0 commit comments

Comments
 (0)
0