Skip to content

Commit 7fc924f

Browse files
committed
Add github actions configuration (remove TravisCI)
1 parent be542db commit 7fc924f

2 files changed

Lines changed: 29 additions & 19 deletions

File tree

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
# manually triggered
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ["3.7"]
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: make env
24+
- name: Lint with pylint
25+
run: make pylint
26+
- name: Test with pytest
27+
run: make test
28+
- name: Documentation
29+
run: make doc

.travis.yml

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

0 commit comments

Comments
 (0)