Skip to content

Commit 1ec3695

Browse files
committed
Improve workflows in line with stepup-core
1 parent 23c0afc commit 1ec3695

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/pytest.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,12 @@ jobs:
2626
tests:
2727
strategy:
2828
matrix:
29-
python-version: ['3.11', '3.13']
30-
runs-on: ubuntu-latest
29+
include:
30+
- python-version: '3.11'
31+
ubuntu-version: '22.04'
32+
- python-version: '3.13'
33+
ubuntu-version: '24.04'
34+
runs-on: ubuntu-${{ matrix.ubuntu-version }}
3135
steps:
3236
- uses: actions/checkout@v4
3337
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
- main
99
tags:
1010
- 'v*'
11+
paths:
12+
# ... and only if relevant files have changed.
13+
- docs/**
14+
- stepup/**
15+
- pyproject.toml
16+
- .github/workflows/release.yaml
1117

1218
env:
1319
# This is not critical

0 commit comments

Comments
 (0)