forked from doganulus/reelay
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 783 Bytes
/
python.yml
File metadata and controls
36 lines (29 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Python
on:
push:
paths:
- "pyproject.toml"
- "python/**"
- "include/reelay/**"
- ".github/workflows/python.yml" # Self-trigger
jobs:
build:
runs-on: ubuntu-latest
container: ghcr.io/doganulus/reelay-devel
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Python version
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Build Reelay Python package
run: pip install .
- name: Install test dependencies
run: pip install pytest
# Configure in pyproject.toml
- name: Run tests
run: pytest