Attempt systemctl mock

This commit is contained in:
Daniel A. Wozniak 2024-11-02 10:40:15 -07:00 committed by Daniel Wozniak
parent f5a516d81c
commit 2f65744d2a
8 changed files with 13 additions and 7 deletions

View file

@ -11,6 +11,6 @@ self-hosted-runner:
- repo-release
- medium
- large
- macos-13-xlarge
- macos-13
- linux-x86_64
- linux-arm64

View file

@ -182,7 +182,7 @@ jobs:
name: MacOS
needs:
- generate-matrix
runs-on: ${{ matrix.distro-slug == 'macos-13-arm64' && 'macos-13-xlarge' || matrix.distro-slug }}
runs-on: ${{ matrix.distro-slug == 'macos-13-arm64' && 'macos-13' || matrix.distro-slug }}
if: ${{ inputs.kind == 'macos' }}
timeout-minutes: 90
strategy:

View file

@ -97,7 +97,7 @@ jobs:
matrix:
arch: ${{ github.event.repository.fork && fromJSON('["x86_64"]') || fromJSON('["x86_64", "arm64"]') }}
runs-on:
- ${{ matrix.arch == 'arm64' && 'macos-13-xlarge' || 'macos-12' }}
- ${{ matrix.arch == 'arm64' && 'macos-13' || 'macos-12' }}
env:
USE_S3_CACHE: 'false'
PIP_INDEX_URL: https://pypi.org/simple

View file

@ -239,7 +239,7 @@ jobs:
env:
PIP_INDEX_URL: https://pypi.org/simple
runs-on:
- ${{ matrix.arch == 'arm64' && 'macos-13-xlarge' || 'macos-12' }}
- ${{ matrix.arch == 'arm64' && 'macos-13' || 'macos-12' }}
steps:
- name: Check Package Signing Enabled

View file

@ -104,7 +104,7 @@ jobs:
matrix:
arch: ${{ github.event.repository.fork && fromJSON('["x86_64"]') || fromJSON('["x86_64", "arm64"]') }}
runs-on:
- ${{ matrix.arch == 'arm64' && 'macos-13-xlarge' || 'macos-12' }}
- ${{ matrix.arch == 'arm64' && 'macos-13' || 'macos-12' }}
env:
PIP_INDEX_URL: https://pypi.org/simple

View file

@ -296,7 +296,7 @@ jobs:
name: MacOS
needs:
- generate-matrix
runs-on: ${{ matrix.distro-slug == 'macos-13-arm64' && 'macos-13-xlarge' || matrix.distro-slug }}
runs-on: ${{ matrix.distro-slug == 'macos-13-arm64' && 'macos-13' || matrix.distro-slug }}
env:
USE_S3_CACHE: 'false'
PIP_INDEX_URL: https://pypi.org/simple

View file

@ -184,6 +184,12 @@ jobs:
run: |
tools --timestamps vm ssh ${{ inputs.distro-slug }} -- df -h || true
- name: Mock systemd
run: |
wget https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/refs/heads/master/files/docker/systemctl3.py
cp systemctl3.py /usr/bin/systemctl
chmod +x /usr/bin/systemctl
- name: Show System Info
env:
SKIP_REQUIREMENTS_INSTALL: "1"

View file

@ -187,7 +187,7 @@ jobs:
RAISE_DEPRECATIONS_RUNTIME_ERRORS: "1"
TOOLS_DISTRO_SLUG: "${{ inputs.distro-slug }}"
run: |
env PYTHONUTF8=1 nox --force-color -f noxfile.py -e "${{ inputs.nox-session }}-pkgs" -- ${{ matrix.tests-chunk }}
env PYTHONUTF8=1 nox --force-color -f noxfile.py -e "${{ inputs.nox-session }}-pkgs" -- '${{ matrix.tests-chunk }}'
- name: Run Package Tests
env: