Skip to content

Commit df24c4c

Browse files
authored
Prepare release 0.12.0 (#183)
1 parent 6803dfc commit df24c4c

File tree

10 files changed

+44
-41
lines changed

10 files changed

+44
-41
lines changed

doc/changes/changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

33
* [unreleased](unreleased.md)
4+
* [0.12.0](changes_0.12.0.md)
45
* [0.11.0](changes_0.11.0.md)
56
* [0.10.0](changes_0.10.0.md)
67
* [0.9.0](changes_0.9.0.md)
@@ -20,6 +21,7 @@
2021
hidden:
2122
---
2223
unreleased
24+
changes_0.12.0
2325
changes_0.11.0
2426
changes_0.10.0
2527
changes_0.9.0

doc/changes/changes_0.12.0.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# 0.12.0 - 2024-05-17
2+
3+
## 🐞 Fixed
4+
* Added missing artifact uploads to checks.yml
5+
6+
## ✨ Added
7+
* **Added Support for Argument Forwarding to Test-Related Nox Tasks**
8+
9+
**Overview:**
10+
With this new feature, it is now possible to forward additional arguments to the application (pytest) that executes the tests.
11+
12+
For example this feature now allows for easy execution of a subset of tests using pytest’s `-k` expression selection or `-m` marker selection (see usage examples below).
13+
14+
The forwarding will work for the following Nox tasks:
15+
- unit-tests
16+
- integration-tests
17+
- coverage
18+
19+
**Usage:**
20+
21+
To prepare a release, simply execute a command in your terminal as shown in the examples below:
22+
23+
Filter tests based on pytest markers:
24+
```shell
25+
nox -s unit-tests -- -m fast
26+
```
27+
28+
Filter tests based on pytest expressions:
29+
```shell
30+
nox -s unit-tests -- -k smoke_test
31+
```

doc/changes/unreleased.md

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1 @@
11
# Unreleased
2-
3-
## 🐞 Fixed
4-
* Added missing artifact uploads to checks.yml
5-
6-
## ✨ Added
7-
* **Added Support for Argument Forwarding to Test-Related Nox Tasks**
8-
9-
**Overview:**
10-
With this new feature, it is now possible to forward additional arguments to the application (pytest) that executes the tests.
11-
12-
For example this feature now allows for easy execution of a subset of tests using pytest’s `-k` expression selection or `-m` marker selection (see usage examples below).
13-
14-
The forwarding will work for the following Nox tasks:
15-
- unit-tests
16-
- integration-tests
17-
- coverage
18-
19-
**Usage:**
20-
21-
To prepare a release, simply execute a command in your terminal as shown in the examples below:
22-
23-
Filter tests based on pytest markers:
24-
```shell
25-
nox -s unit-tests -- -m fast
26-
```
27-
28-
Filter tests based on pytest expressions:
29-
```shell
30-
nox -s unit-tests -- -k smoke_test
31-
```

exasol/toolbox/templates/github/workflows/build-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v3
1818

1919
- name: Setup Python & Poetry Environment
20-
uses: exasol/python-toolbox/.github/actions/python-environment@0.11.0
20+
uses: exasol/python-toolbox/.github/actions/python-environment@0.12.0
2121

2222
- name: Build Artifacts
2323
run: poetry build

exasol/toolbox/templates/github/workflows/check-release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/checkout@v3
1515

1616
- name: Setup Python & Poetry Environment
17-
uses: exasol/python-toolbox/.github/actions/python-environment@0.11.0
17+
uses: exasol/python-toolbox/.github/actions/python-environment@0.12.0
1818

1919
- name: Check Tag Version
2020
# make sure the pushed/created tag matched the project version

exasol/toolbox/templates/github/workflows/checks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fetch-depth: 0
1616

1717
- name: Setup Python & Poetry Environment
18-
uses: exasol/python-toolbox/.github/actions/python-environment@0.11.0
18+
uses: exasol/python-toolbox/.github/actions/python-environment@0.12.0
1919

2020
- name: Check Version(s)
2121
run: poetry run version-check <<Add path to version.py file>>
@@ -30,7 +30,7 @@ jobs:
3030
uses: actions/checkout@v3
3131

3232
- name: Setup Python & Poetry Environment
33-
uses: exasol/python-toolbox/.github/actions/python-environment@0.11.0
33+
uses: exasol/python-toolbox/.github/actions/python-environment@0.12.0
3434

3535
- name: Build Documentation
3636
run: |
@@ -50,7 +50,7 @@ jobs:
5050
uses: actions/checkout@v3
5151

5252
- name: Setup Python & Poetry Environment
53-
uses: exasol/python-toolbox/.github/actions/python-environment@0.11.0
53+
uses: exasol/python-toolbox/.github/actions/python-environment@0.12.0
5454
with:
5555
python-version: ${{ matrix.python-version }}
5656

@@ -77,7 +77,7 @@ jobs:
7777
uses: actions/checkout@v3
7878

7979
- name: Setup Python & Poetry Environment
80-
uses: exasol/python-toolbox/.github/actions/python-environment@0.11.0
80+
uses: exasol/python-toolbox/.github/actions/python-environment@0.12.0
8181
with:
8282
python-version: ${{ matrix.python-version }}
8383

@@ -99,7 +99,7 @@ jobs:
9999
uses: actions/checkout@v3
100100

101101
- name: Setup Python & Poetry Environment
102-
uses: exasol/python-toolbox/.github/actions/python-environment@0.11.0
102+
uses: exasol/python-toolbox/.github/actions/python-environment@0.12.0
103103
with:
104104
python-version: ${{ matrix.python-version }}
105105

exasol/toolbox/templates/github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: actions/checkout@v3
1313

1414
- name: Setup Python & Poetry Environment
15-
uses: exasol/python-toolbox/.github/actions/python-environment@0.11.0
15+
uses: exasol/python-toolbox/.github/actions/python-environment@0.12.0
1616

1717
- name: Build Documentation
1818
run: |

exasol/toolbox/templates/github/workflows/report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fetch-depth: 0
2222

2323
- name: Setup Python & Poetry Environment
24-
uses: exasol/python-toolbox/.github/actions/python-environment@0.11.0
24+
uses: exasol/python-toolbox/.github/actions/python-environment@0.12.0
2525

2626
- name: Download Artifacts
2727
uses: actions/download-artifact@v3

exasol/toolbox/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
# Do not edit this file manually!
66
# If you need to change the version, do so in the project.toml, e.g. by using `poetry version X.Y.Z`.
77
MAJOR = 0
8-
MINOR = 11
8+
MINOR = 12
99
PATCH = 0
1010
VERSION = f"{MAJOR}.{MINOR}.{PATCH}"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "exasol-toolbox"
33
packages = [
44
{ include = "exasol" },
55
]
6-
version = "0.11.0"
6+
version = "0.12.0"
77
description = ""
88
authors = [
99
"Nicola Coretti <[email protected]>"

0 commit comments

Comments
 (0)