Skip to content

Commit f379eb3

Browse files
authored
Add CI workflow for Python green gate testing
1 parent c6995e1 commit f379eb3

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Green Gate
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
11+
concurrency:
12+
group: green-gate-${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
green-gate:
17+
name: Python ${{ matrix.python-version }}
18+
runs-on: ubuntu-latest
19+
timeout-minutes: 15
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
python-version:
24+
- "3.10"
25+
- "3.11"
26+
- "3.12"
27+
- "3.13"
28+
- "3.14"
29+
30+
steps:
31+
- name: Check out repository
32+
uses: actions/checkout@v7.0.1
33+
with:
34+
persist-credentials: false
35+
36+
- name: Set up Python ${{ matrix.python-version }}
37+
uses: actions/setup-python@v6.2.0
38+
with:
39+
python-version: ${{ matrix.python-version }}
40+
41+
- name: Install project and development dependencies
42+
run: python -m pip install --disable-pip-version-check -e ".[dev]"
43+
44+
- name: Run complete green gate
45+
run: python check_green.py

0 commit comments

Comments
 (0)