Skip to content

Commit d1990f3

Browse files
committed
Added build workflow
1 parent 91b813a commit d1990f3

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/build.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Python build
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: ["pypy3.8", "pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"]
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Set up Python ${{ matrix.python-version }}
14+
uses: actions/setup-python@v5
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
18+
- name: Install pip
19+
run: python -m pip install --upgrade pip
20+
21+
- name: Install dependencies
22+
run: pip install -r requirements.txt
23+
24+
- name: Install dependencies
25+
run: pip install -r test-requirements.txt
26+
27+
- name: Install build
28+
run: python -m pip install build
29+
30+
- name: Run tests
31+
run: python -m pytest

0 commit comments

Comments
 (0)