Skip to content

Commit 770d21b

Browse files
committed
add github actions
1 parent 2514803 commit 770d21b

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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+
python -m pytest atwiki
35+
atwiki-dump --help

0 commit comments

Comments
 (0)