41
41
strategy :
42
42
matrix :
43
43
python-version : ['3.9', '3.10', '3.11', '3.12']
44
- gtk-version : ['4.0']
45
- name : build (python ${{ matrix.python-version }}, gtk ${{ matrix.gtk-version }})
44
+ name : build python ${{ matrix.python-version }}
46
45
outputs :
47
46
targz : gaphas-${{ steps.meta.outputs.version }}.tar.gz
48
47
wheel : gaphas-${{ steps.meta.outputs.version }}-py3-none-any.whl
66
65
- name : Install Ubuntu Dependencies
67
66
run : |
68
67
sudo apt update -qq
69
- sudo apt install -qq --no-install-recommends gir1.2-gtk-${{ matrix.gtk-version }} libgirepository1.0-dev
68
+ sudo apt install -qq --no-install-recommends gir1.2-gtk-4.0 libgirepository1.0-dev
70
69
- name : Install Poetry
71
70
run : |
72
71
pipx install --python python${{ matrix.python-version }} --pip-args=--constraint=.github/constraints.txt poetry
@@ -77,25 +76,25 @@ jobs:
77
76
- name : Install dependencies
78
77
run : poetry install --no-interaction
79
78
- name : Test
80
- run : TEST_GTK_VERSION=${{ matrix.gtk-version }} xvfb-run poetry run pytest --cov=gaphas
79
+ run : xvfb-run poetry run pytest --cov=gaphas
81
80
- name : Code Climate Coverage Action
82
81
uses : paambaati/codeclimate-action@a1831d7162ea1fbc612ffe5fb3b90278b7999d59 # v5.0.0
83
82
env :
84
83
CC_TEST_REPORTER_ID : 195e9f83022747c8eefa3ec9510dd730081ef111acd99c98ea0efed7f632ff8a
85
84
with :
86
85
coverageCommand : poetry run coverage xml
87
86
- name : Create Source Dist and Wheel
88
- if : ${{ matrix.python_version == env.python_version }}
87
+ if : ${{ matrix.python-version == env.python-version }}
89
88
run : poetry build
90
- - name : Upload gaphas-${{ steps.meta.output .version }}.tar.gz
91
- if : ${{ matrix.python_version == env.python_version }}
92
- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
89
+ - name : Upload gaphas-${{ steps.meta.outputs .version }}.tar.gz
90
+ if : ${{ matrix.python-version == env.python-version }}
91
+ uses : actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
93
92
with :
94
93
name : gaphas-${{ steps.meta.outputs.version }}.tar.gz
95
94
path : dist/gaphas-${{ steps.meta.outputs.version }}.tar.gz
96
95
- name : Upload gaphas-${{ steps.meta.outputs.version }}-py3-none-any.whl
97
- if : ${{ matrix.python_version == env.python_version }}
98
- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
96
+ if : ${{ matrix.python-version == env.python-version }}
97
+ uses : actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
99
98
with :
100
99
name : gaphas-${{ steps.meta.outputs.version }}-py3-none-any.whl
101
100
path : dist/gaphas-${{ steps.meta.outputs.version }}-py3-none-any.whl
0 commit comments