-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(CI/CD): bump version 0.7.3 -> 0.7.4 (#451)
* chore(CI/CD): bump version 0.7.3 -> 0.7.4 * docs: update CHANGELOG.md * ci: add new manual tests for lowest possible dependencies --------- Co-authored-by: Kamil Raczycki <raczyckikamil@gmail.com>
- Loading branch information
1 parent
68eea1f
commit 5622aa2
Showing
5 changed files
with
75 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,69 @@ | ||
name: "Run tests with newest dependencies" | ||
name: "Run tests with newest and oldest dependencies" | ||
on: [workflow_dispatch, workflow_call] | ||
|
||
jobs: | ||
run-tests: | ||
name: Run tests 🛠️ on multiple systems 🖥️ and Python 🐍 versions | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ["3.9", "3.10", "3.11", "3.12"] | ||
include: | ||
- os: macos-latest | ||
python-version: "3.12" | ||
- os: macos-13 | ||
python-version: "3.12" | ||
- os: windows-latest | ||
python-version: "3.12" | ||
env: | ||
OS: ${{ matrix.os }} | ||
PYTHON: ${{ matrix.python-version }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install pdm | ||
run: pip install pdm | ||
- name: Generate lock with newest dependencies | ||
run: pdm lock --lockfile pdm.newest.lock --strategy no_cross_platform -dG:all | ||
- name: Install srai and tests dependencies | ||
run: pdm install --lockfile pdm.newest.lock -dG:all | ||
- name: Run tests with pytest | ||
run: pdm run pytest -v --durations=20 tests | ||
run-tests-newest: | ||
name: Run tests 🛠️ on multiple systems 🖥️ and Python 🐍 versions | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ["3.9", "3.10", "3.11", "3.12"] | ||
include: | ||
- os: macos-latest | ||
python-version: "3.12" | ||
- os: macos-13 | ||
python-version: "3.12" | ||
- os: windows-latest | ||
python-version: "3.12" | ||
env: | ||
OS: ${{ matrix.os }} | ||
PYTHON: ${{ matrix.python-version }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install pdm | ||
run: pip install pdm | ||
- name: Generate lock with newest dependencies | ||
run: pdm lock --lockfile pdm.newest.lock --strategy no_cross_platform -dG:all | ||
- name: Install srai and tests dependencies | ||
run: pdm install --lockfile pdm.newest.lock -dG:all | ||
- name: Run tests with pytest | ||
run: pdm run pytest -v --durations=20 tests | ||
|
||
run-tests-oldest: | ||
name: Run tests 🛠️ on multiple systems 🖥️ and Python 🐍 versions | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ["3.9", "3.10", "3.11", "3.12"] | ||
include: | ||
- os: macos-latest | ||
python-version: "3.12" | ||
- os: macos-13 | ||
python-version: "3.12" | ||
- os: windows-latest | ||
python-version: "3.12" | ||
env: | ||
OS: ${{ matrix.os }} | ||
PYTHON: ${{ matrix.python-version }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install pdm | ||
run: pip install pdm | ||
- name: Generate lock with oldest dependencies | ||
run: pdm lock --lockfile pdm.oldest.lock --strategy no_cross_platform,direct_minimal_versions -dG:all | ||
- name: Install srai and tests dependencies | ||
run: pdm install --lockfile pdm.oldest.lock -dG:all | ||
- name: Run tests with pytest | ||
run: pdm run pytest -v --durations=20 tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ | |
for complete documentation. | ||
""" | ||
|
||
__version__ = "0.7.3" | ||
__version__ = "0.7.4" |