Skip to content

Commit bf694ff

Browse files
committed
ci(SimpleDjIA): add Linux compatibility matrix
1 parent d28d13b commit bf694ff

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

‎.github/workflows/simple-djia.yml‎

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Simple DjIA
2+
3+
on:
4+
push:
5+
branches: [master, feature/simple-djia-v1]
6+
paths:
7+
- 'SimpleDjIA/**'
8+
- '.github/workflows/simple-djia.yml'
9+
pull_request:
10+
branches: [master]
11+
paths:
12+
- 'SimpleDjIA/**'
13+
- '.github/workflows/simple-djia.yml'
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
test:
20+
runs-on: ubuntu-latest
21+
strategy:
22+
matrix:
23+
python-version: ['3.10', '3.11', '3.12', '3.13']
24+
defaults:
25+
run:
26+
working-directory: SimpleDjIA
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: actions/setup-python@v5
30+
with:
31+
python-version: ${{ matrix.python-version }}
32+
- name: Install
33+
run: |
34+
python -m pip install --upgrade pip
35+
pip install -e . pytest
36+
- name: Compile
37+
run: python -m compileall -q src
38+
- name: Tests
39+
run: pytest -q
40+
- name: Smoke CLI
41+
run: simple-djia --help

0 commit comments

Comments
 (0)