Skip to content

Revert "[tests] Python 3.14.0-alpha is available with actions/python-… #60

Revert "[tests] Python 3.14.0-alpha is available with actions/python-…

Revert "[tests] Python 3.14.0-alpha is available with actions/python-… #60

Workflow file for this run

name: pre-commit
on:
push:
branches:
- master
- stable
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
PYWIKIBOT_TEST_RUNNING: 1
PYWIKIBOT_NO_USER_CONFIG: 2
jobs:
pre-commit:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.13"
- "3.14-dev"
steps:
- name: set up python ${{ matrix.python-version }}
if: "!endsWith(matrix.python-version, '-dev')"
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: set up development python ${{ matrix.python-version }}
if: "endsWith(matrix.python-version, '-dev')"
uses: deadsnakes/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: checkout
uses: actions/checkout@v4
with:
submodules: true
- name: run pre-commit
uses: pre-commit/[email protected]
timeout-minutes: 5
timeout-minutes: 100