Skip to content

Commit 501855c

Browse files
authored
Merge pull request #2041 from PyCQA/ci/general-ci-improvements
General CI improvements
2 parents 8a10e47 + abd5eb2 commit 501855c

File tree

9 files changed

+40
-25
lines changed

9 files changed

+40
-25
lines changed

.github/labels.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
description: Refactoring
5454
color: "ef67c4"
5555
- name: removal
56-
description: Removals and Deprecations
56+
description: Removals and deprecations
5757
color: "9ae7ea"
5858
- name: style
5959
description: Style
@@ -64,3 +64,6 @@
6464
- name: wontfix
6565
description: This will not be worked on
6666
color: "ffffff"
67+
- name: skip-changelog
68+
description: This will not be added to release notes
69+
color: "dddddd"

.github/release-drafter.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
template: |
3+
## Changes
4+
5+
$CHANGES
6+
17
categories:
28
- title: ":boom: Breaking Changes"
39
label: "breaking"
@@ -25,7 +31,6 @@ categories:
2531
labels:
2632
- "dependencies"
2733
- "build"
28-
template: |
29-
## Changes
3034

31-
$CHANGES
35+
exclude-labels:
36+
- "skip-changelog"

.github/workflows/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
pip==22.3.1
2-
poetry==1.3.1
2+
poetry==1.2.2
33
virtualenv==20.17.1

.github/workflows/integration.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
---
12
name: Integration
23

3-
on: [push, pull_request]
4+
"on":
5+
push:
6+
pull_request:
47

58
permissions:
69
contents: read
@@ -10,7 +13,7 @@ jobs:
1013
runs-on: ubuntu-latest
1114
strategy:
1215
matrix:
13-
python-version: ["3.9"]
16+
python-version: ["3.11"]
1417

1518
steps:
1619
- uses: actions/checkout@v2

.github/workflows/labeler.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
---
12
name: Labeler
23

3-
on:
4+
"on":
45
push:
56
branches:
67
- main

.github/workflows/lint.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
---
12
name: Lint
23

3-
on: [push, pull_request]
4+
"on":
5+
push:
6+
pull_request:
47

58
permissions:
69
contents: read

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: Release
33

4-
on:
4+
"on":
55
push:
66
branches:
77
- main
@@ -34,7 +34,7 @@ jobs:
3434
- name: Check if there is a parent commit
3535
id: check-parent-commit
3636
run: |
37-
echo "::set-output name=sha::$(git rev-parse --verify --quiet HEAD^)"
37+
echo "name=sha::$(git rev-parse --verify --quiet HEAD^)" >> $GITHUB_ENV
3838
3939
- name: Detect and tag new version
4040
id: check-version

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
---
12
name: Test
23

3-
on: [push, pull_request]
4+
"on":
5+
push:
6+
pull_request:
47

58
permissions:
69
contents: read
@@ -58,11 +61,8 @@ jobs:
5861
5962
- name: Install Poetry
6063
run: |
61-
python -m pip install --upgrade pip
6264
pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry
63-
python -m pip install --upgrade poetry
6465
poetry --version
65-
poetry install
6666
6767
- name: Install dependencies
6868
run: poetry install
@@ -72,5 +72,5 @@ jobs:
7272
run: ./scripts/test.sh
7373

7474
- name: Report Coverage
75-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'
75+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
7676
uses: codecov/codecov-action@v1

poetry.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)