Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for the new Ubuntu image on GitHub Actions #2614

Merged
merged 4 commits into from
Oct 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use some more compact YAML syntax
Kodiologist committed Oct 4, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 23d296941389751fa4f962e2b9a466f002505485
13 changes: 6 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ jobs:
os: macos-latest
python: 3.12

name: ${{ format('{0}{1}', matrix.name-prefix, matrix.python) }}
name: ${{ matrix.name-prefix }}${{ matrix.python }}
runs-on: ${{ matrix.os }}
env:
TERM: xterm-256color
@@ -34,15 +34,14 @@ jobs:
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v4
- if: ${{ matrix.python != 'pyodide' }}
- if: matrix.python != 'pyodide'
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- if: ${{ matrix.python == 'pyodide' }}
python-version: ${{ matrix.python }}
- if: matrix.python == 'pyodide'
uses: actions/setup-python@v5
with:
python-version: 3
- if: ${{ matrix.python == 'pyodide' }}
with: {python-version: 3}
- if: matrix.python == 'pyodide'
uses: actions/setup-node@v4
- name: Install
shell: bash