Skip to content

Commit

Permalink
Update GH actions + PyPy version. (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac authored Jan 11, 2024
1 parent acd8d23 commit 9e626d3
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions config/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ updated. Example:
"- [\"3.8\", \"py38-slim\"]",
]
additional-exclude = [
"- { os: windows, config: [\"pypy-3.9\", \"pypy\"] }",
"- { os: macos, config: [\"pypy-3.9\", \"pypy\"] }",
"- { os: windows, config: [\"pypy-3.10\", \"pypy3\"] }",
"- { os: macos, config: [\"pypy-3.10\", \"pypy3\"] }",
]
steps-before-checkout = [
"- name: \"Set some Postgres settings\"",
Expand Down
4 changes: 2 additions & 2 deletions config/c-code/tests-cache.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
###
Expand Down
2 changes: 1 addition & 1 deletion config/c-code/tests-download.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

- name: Download %(package_name)s wheel
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: %(package_name)s-${{ runner.os }}-${{ matrix.python-version }}.whl
path: dist/
4 changes: 2 additions & 2 deletions config/c-code/tests-strategy.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
matrix:
python-version:
{% if with_pypy %}
- "pypy-3.9"
- "pypy-3.10"
{% endif %}
- "3.7"
- "3.8"
Expand All @@ -20,7 +20,7 @@
{% endif %}
{% if with_pypy %}
- os: macos-11
python-version: "pypy-3.9"
python-version: "pypy-3.10"
{% endif %}
{% for line in gha_additional_exclude %}
%(line)s
Expand Down
4 changes: 2 additions & 2 deletions config/c-code/tests.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:
{% else %}
!startsWith(runner.os, 'Mac')
{% endif %}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
{% if kind == 'macOS arm64' %}
# The arm64 wheel is uploaded with a different name just so it can be
Expand Down Expand Up @@ -398,7 +398,7 @@ jobs:
bash .manylinux.sh

- name: Upload %(package_name)s wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: wheelhouse/*whl
name: manylinux_${{ matrix.image }}_wheels.zip
Expand Down
6 changes: 3 additions & 3 deletions config/default/tests.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- ["%(future_python_version)s", "py313"]
{% endif %}
{% if with_pypy %}
- ["pypy-3.9", "pypy3"]
- ["pypy-3.10", "pypy3"]
{% endif %}
{% if with_docs %}
- ["3.9", "docs"]
Expand Down Expand Up @@ -99,9 +99,9 @@ jobs:
{% for line in steps_before_checkout %}
%(line)s
{% endfor %}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.config[0] }}
- name: Pip cache
Expand Down

0 comments on commit 9e626d3

Please sign in to comment.