Skip to content

Commit c33e2a9

Browse files
author
IndominusByte
committed
setup github action
1 parent ed548fd commit c33e2a9

File tree

4 files changed

+32
-24
lines changed

4 files changed

+32
-24
lines changed

.github/workflows/ci.yml renamed to .github/workflows/build-docs.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
name: ci
2-
on:
3-
push:
4-
branches:
5-
- master
6-
- docs
1+
name: Build Docs
2+
3+
on: [push, pull_request]
4+
75
jobs:
86
deploy:
97
runs-on: ubuntu-latest

.github/workflows/tests.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Test
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: [3.6, 3.7, 3.8]
11+
fail-fast: false
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Set up Python
16+
uses: actions/setup-python@v1
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install Flit
20+
run: pip install flit
21+
- name: Install Dependencies
22+
run: flit install --symlink
23+
- name: Test
24+
run: bash scripts/tests.sh
25+
- name: Coveralls
26+
uses: coverallsapp/github-action@master
27+
with:
28+
github-token: ${{ secrets.GITHUB_TOKEN }}

.travis.yml

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

requirements.txt

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

0 commit comments

Comments
 (0)