Skip to content

Commit 59164f3

Browse files
committed
Add a GitHub Actions CI workflow
Signed-off-by: Michał Górny <mgorny@gentoo.org>
1 parent c432f23 commit 59164f3

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
strategy:
6+
matrix:
7+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11.0-beta - 3.11",
8+
"pypy-3.7", "pypy-3.8", "pypy-3.9"]
9+
fail-fast: false
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- name: Set up Python
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
- name: Install pytest
19+
run: pip install pytest
20+
- name: Autoreconf
21+
run: autoreconf -vi
22+
- name: Configure
23+
run: ./configure -C --with-python-impls="python3.10"
24+
- name: Distcheck
25+
run: make -j$(nproc) distcheck

0 commit comments

Comments
 (0)