Bumps the github-actions group with 5 updates: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `4.1.1` | `4.1.2` | | [actions/setup-python](https://github.com/actions/setup-python) | `5.0.0` | `5.1.0` | | [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator) | `1.9.0` | `1.10.0` | | [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) | `1.8.11` | `1.8.14` | | [actions/cache](https://github.com/actions/cache) | `4.0.0` | `4.0.2` | Updates `actions/checkout` from 4.1.1 to 4.1.2 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](b4ffde65f4...9bb56186c3) Updates `actions/setup-python` from 5.0.0 to 5.1.0 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](0a5c615913...82c7e631bb) Updates `slsa-framework/slsa-github-generator` from 1.9.0 to 1.10.0 - [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases) - [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md) - [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v1.9.0...v1.10.0) Updates `pypa/gh-action-pypi-publish` from 1.8.11 to 1.8.14 - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](2f6f737ca5...81e9d935c8) Updates `actions/cache` from 4.0.0 to 4.0.2 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](13aacd865c...0c45773b62) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: slsa-framework/slsa-github-generator dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
49 lines
1.8 KiB
YAML
49 lines
1.8 KiB
YAML
name: Tests
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- '*.x'
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '*.md'
|
|
- '*.rst'
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '*.md'
|
|
- '*.rst'
|
|
jobs:
|
|
tests:
|
|
name: ${{ matrix.name }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- {name: Linux, python: '3.12', os: ubuntu-latest, tox: py312}
|
|
- {name: Windows, python: '3.12', os: windows-latest, tox: py312}
|
|
- {name: Mac, python: '3.12', os: macos-latest, tox: py312}
|
|
- {name: '3.11', python: '3.11', os: ubuntu-latest, tox: py311}
|
|
- {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310}
|
|
- {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}
|
|
- {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38}
|
|
- {name: 'PyPy', python: 'pypy-3.10', os: ubuntu-latest, tox: pypy310}
|
|
- {name: 'Minimum Versions', python: '3.12', os: ubuntu-latest, tox: py312-min}
|
|
- {name: 'Development Versions', python: '3.8', os: ubuntu-latest, tox: py38-dev}
|
|
- {name: Typing, python: '3.12', os: ubuntu-latest, tox: typing}
|
|
steps:
|
|
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
|
|
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d
|
|
with:
|
|
python-version: ${{ matrix.python }}
|
|
cache: 'pip'
|
|
cache-dependency-path: requirements*/*.txt
|
|
- name: cache mypy
|
|
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
|
|
with:
|
|
path: ./.mypy_cache
|
|
key: mypy|${{ matrix.python }}|${{ hashFiles('pyproject.toml') }}
|
|
if: matrix.tox == 'typing'
|
|
- run: pip install tox
|
|
- run: tox run -e ${{ matrix.tox }}
|