Skip to content

Commit

Permalink
ci: update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
makkus committed Apr 19, 2024
1 parent ee16fbd commit 2b8f137
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,19 @@ jobs:
runs-on: macos-11
strategy:
matrix:
python_version: ["3.8", "3.9", "3.10", "3.11"]
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: "Set up Python {% raw %}${{ matrix.python_version }}{% endraw %}"
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "{% raw %}${{ matrix.python_version }}{% endraw %}"
- uses: actions/checkout@v3
- name: pip cache
id: pip-cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: {% raw %}${{ runner.os }}-pip-${{ matrix.python_version }}{% endraw %}
- uses: actions/checkout@v4
- name: install kiara_plugin.{{ cookiecutter.project_slug }}
run: pip install -U .[dev_testing]
- name: display installed kiara and module package versions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ jobs:
{% raw %}if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags'){% endraw %}
needs:
- release_python_package
- build_and_release_conda_package
- release_conda_package
steps:
- uses: actions/checkout@v4
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@ jobs:
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: "Set up Python {% raw %}${{ matrix.python_version }}{% endraw %}"
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "{% raw %}${{ matrix.python_version }}{% endraw %}"
- uses: actions/checkout@v3
- name: pip cache
id: pip-cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: {% raw %}${{ runner.os }}-pip-${{ matrix.python_version }}{% endraw %}
- uses: actions/checkout@v4
- name: install kiara_plugin.{{ cookiecutter.project_slug }}
run: pip install -U .[dev_testing]
- name: Test with pytest
Expand Down

0 comments on commit 2b8f137

Please sign in to comment.