Skip to content

Commit b9570a7

Browse files
authored
Merge pull request #11 from kmaehashi/update-ci
CI on GitHub Actions
2 parents 2514803 + fca971a commit b9570a7

2 files changed

Lines changed: 36 additions & 27 deletions

File tree

.github/workflows/test.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: "Test"
2+
on: [push, pull_request]
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-20.04
7+
strategy:
8+
matrix:
9+
python-version: ['2.7', '3.7', '3.8', '3.9', '3.10']
10+
11+
steps:
12+
- name: Git Checkout
13+
uses: actions/checkout@v2
14+
with:
15+
submodules: recursive
16+
17+
- name: Setup Python
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
22+
- name: Install
23+
run: |
24+
pip install -v .
25+
26+
- name: Show environment
27+
run: |
28+
env
29+
python -V
30+
pip freeze
31+
32+
- name: Run tests
33+
run: |
34+
pip install pytest
35+
python -m pytest atwiki
36+
atwiki-dump --help

.travis.yml

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

0 commit comments

Comments
 (0)