Add Gitea Actions CI: tests on Python 3.10-3.13 and shellcheck #7
No files matched your search
@@ -16,11 +16,15 @@ jobs:
|
||||
python: ["3.10", "3.11", "3.12", "3.13"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
- run: python3 --version
|
||||
- run: make test
|
||||
# setup-python only has builds for real Ubuntu releases, and the runner's
|
||||
# ubuntu-latest image isn't one. uv's standalone builds run on any glibc Linux.
|
||||
- uses: astral-sh/setup-uv@v6
|
||||
- name: Install Python ${{ matrix.python }}
|
||||
run: |
|
||||
uv python install ${{ matrix.python }}
|
||||
echo "PYTHON=$(uv python find ${{ matrix.python }})" >> "$GITHUB_ENV"
|
||||
- run: $PYTHON --version
|
||||
- run: make test PYTHON="$PYTHON"
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in new issue
Block a user