Skip to content

Commit 3f9e930

Browse files
committed
More testing
Signed-off-by: Ole Herman Schumacher Elgesem <ole.elgesem@northern.tech>
1 parent 42cc19e commit 3f9e930

3 files changed

Lines changed: 7 additions & 15 deletions

File tree

.github/workflows/black-check.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,20 @@
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

44
name: Check formatting with Black
5-
65
on:
76
push:
87
branches: [main]
98
pull_request:
109
branches: [main]
11-
1210
permissions:
1311
contents: read
14-
1512
jobs:
1613
check:
1714
runs-on: ubuntu-22.04
1815
strategy:
1916
fail-fast: false
2017
matrix:
2118
python-version: ["3.12"]
22-
2319
steps:
2420
- uses: actions/checkout@v4
2521
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/black-format.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
name: Automatically format with Black and submit PR
2-
32
permissions:
43
contents: read
54
pull-requests: write
6-
75
on:
86
push:
97
branches:
108
- main
11-
129
workflow_dispatch:
13-
1410
jobs:
1511
format:
1612
runs-on: ubuntu-22.04

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3-
43
name: Tests
5-
64
on:
75
push:
86
branches: [main]
97
pull_request:
108
branches: [main]
119
workflow_call:
12-
1310
permissions:
1411
contents: read
15-
1612
jobs:
1713
all-tests:
1814
runs-on: ubuntu-22.04
1915
strategy:
2016
fail-fast: true
2117
matrix:
2218
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
23-
2419
steps:
2520
- uses: actions/checkout@v3
2621
with:
@@ -29,9 +24,14 @@ jobs:
2924
uses: actions/setup-python@v5
3025
with:
3126
python-version: ${{ matrix.python-version }}
32-
- run: |
27+
- name: Set up
28+
run: |
3329
git fetch --all --tags
3430
pip install uv
31+
- name: Run tests
32+
run: |
3533
uv lock --check
36-
uv build
3734
uv run pytest
35+
- name: Run build
36+
run: |
37+
uv build

0 commit comments

Comments
 (0)