mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2026-04-02 00:27:30 +01:00
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](83679a892e...a309ff8b42)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: 6.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
name: Build Image and Test
|
|
on:
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build-and-test:
|
|
runs-on: ${{ matrix.runner }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- platform: linux/amd64
|
|
runner: ubuntu-latest
|
|
- platform: linux/386
|
|
runner: ubuntu-latest
|
|
- platform: linux/arm/v6
|
|
runner: ubuntu-24.04-arm
|
|
- platform: linux/arm/v7
|
|
runner: ubuntu-24.04-arm
|
|
- platform: linux/arm64
|
|
runner: ubuntu-24.04-arm
|
|
- platform: linux/riscv64
|
|
runner: ubuntu-24.04-arm
|
|
env:
|
|
CI_ARCH: ${{ matrix.platform }}
|
|
steps:
|
|
- name: Checkout Repo
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
|
|
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 #v3.7.0
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 #v6.2.0
|
|
with:
|
|
python-version: "3.13"
|
|
|
|
- name: Run black formatter
|
|
run: |
|
|
pip install black
|
|
black --check --diff test/tests/
|
|
|
|
- name: Install wheel
|
|
run: pip install wheel
|
|
|
|
- name: Install dependencies
|
|
run: pip install -r test/requirements.txt
|
|
|
|
- name: Test with tox
|
|
run: |
|
|
CIPLATFORM=${{ env.CI_ARCH }} tox -c test/tox.ini
|