chore(deps): update dependency https://github.com/lkubb/salt-extensio… #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | ||
| name: Testing | ||
| on: | ||
| workflow_call: | ||
| jobs: | ||
| Linux: | ||
| runs-on: ubuntu-24.04 | ||
| timeout-minutes: 30 | ||
| strategy: | ||
| fail-fast: false | ||
| max-parallel: 3 | ||
| matrix: | ||
| include: | ||
| - {salt-version: "3006.10", python-version: "3.9"} | ||
| - {salt-version: "3006.10", python-version: "3.10"} | ||
| - {salt-version: "3007.1", python-version: "3.10"} | ||
| steps: | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
| with: | ||
| fetch-depth: 2 # coverage: Issue detecting commit SHA | ||
| - name: Set up Python ${{ matrix.python-version }} | ||
| uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| - name: Install Nox | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install "nox==$NOX_VERSION" "uv==$UV_VERSION" | ||
| env: | ||
| NOX_VERSION: '2025.2.9' | ||
| <<<<<<< before updating | ||
| UV_VERSION: '0.6.9' | ||
| ======= | ||
| UV_VERSION: '0.6.10' | ||
| >>>>>>> after updating | ||
| - name: Install Test Requirements | ||
| env: | ||
| SALT_REQUIREMENT: salt==${{ matrix.salt-version }} | ||
| run: | | ||
| nox --force-color -e tests-3 --install-only | ||
| - name: Test | ||
| env: | ||
| SALT_REQUIREMENT: salt==${{ matrix.salt-version }} | ||
| SKIP_REQUIREMENTS_INSTALL: true | ||
| run: | | ||
| nox --force-color -e tests-3 -- -vv --instafail tests/ | ||
| - name: Create CodeCov Flags | ||
| if: always() | ||
| id: codecov-flags | ||
| run: | | ||
| echo "flags=$(python -c "import sys; print('{},{},salt_{}'.format('${{ runner.os }}'.replace('-latest', ''), 'py{}{}'.format(*sys.version_info), '_'.join(str(v) for v in '${{ matrix.salt-version }}'.replace('==', '_').split('.'))))")" >> "$GITHUB_OUTPUT" | ||
| - name: Upload Project Code Coverage | ||
| uses: codecov/codecov-action@e96185f4044c2f0cedf0f022454acf9811cf8057 # v5.4.0 | ||
| with: | ||
| files: artifacts/coverage-project.xml | ||
| disable_search: true | ||
| fail_ci_if_error: false | ||
| flags: ${{ steps.codecov-flags.outputs.flags }},project | ||
| name: ${{ runner.os }}-Py${{ matrix.python-version }}-Salt${{ matrix.salt-version }}-project | ||
| use_oidc: true | ||
| version: v10.3.0 | ||
| - name: Upload Tests Code Coverage | ||
| uses: codecov/codecov-action@e96185f4044c2f0cedf0f022454acf9811cf8057 # v5.4.0 | ||
| with: | ||
| files: artifacts/coverage-tests.xml | ||
| disable_search: true | ||
| fail_ci_if_error: false | ||
| flags: ${{ steps.codecov-flags.outputs.flags }},tests | ||
| name: ${{ runner.os }}-Py${{ matrix.python-version }}-Salt${{ matrix.salt-version }}-tests | ||
| use_oidc: true | ||
| version: v10.3.0 | ||
| - name: Upload Logs | ||
| if: always() | ||
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | ||
| with: | ||
| name: runtests-${{ runner.os }}-py${{ matrix.python-version }}-Salt${{ matrix.salt-version }}.log | ||
| path: artifacts/runtests-*.log | ||
| - name: Set Exit Status | ||
| if: always() | ||
| run: | | ||
| mkdir exitstatus | ||
| echo "${{ job.status }}" > exitstatus/${{ github.job }}-Py${{ matrix.python-version }}-Salt${{ matrix.salt-version }} | ||
| - name: Upload Exit Status | ||
| if: always() | ||
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | ||
| with: | ||
| name: exitstatus-${{ github.job }}-Py${{ matrix.python-version }}-Salt${{ matrix.salt-version }} | ||
| path: exitstatus | ||
| if-no-files-found: error | ||
| Windows: | ||
| runs-on: windows-2022 | ||
| timeout-minutes: 40 | ||
| strategy: | ||
| fail-fast: false | ||
| max-parallel: 2 | ||
| matrix: | ||
| include: | ||
| - {salt-version: "3006.10", python-version: "3.9"} | ||
| - {salt-version: "3007.1", python-version: "3.9"} | ||
| steps: | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
| with: | ||
| fetch-depth: 2 | ||
| - name: Set up Python ${{ matrix.python-version }} | ||
| uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| - name: Install Nox | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install "nox==$env:NOX_VERSION" "uv==$env:UV_VERSION" | ||
| env: | ||
| NOX_VERSION: '2025.2.9' | ||
| <<<<<<< before updating | ||
| UV_VERSION: '0.6.9' | ||
| ======= | ||
| UV_VERSION: '0.6.10' | ||
| >>>>>>> after updating | ||
| - name: Install Test Requirements | ||
| shell: bash | ||
| env: | ||
| SALT_REQUIREMENT: salt==${{ matrix.salt-version }} | ||
| # EXTRA_REQUIREMENTS_INSTALL: Cython | ||
| run: | | ||
| export PATH="/C/Program Files (x86)/Windows Kits/10/bin/10.0.18362.0/x64;$PATH" | ||
| nox --force-color -e tests-3 --install-only | ||
| - name: Test | ||
| shell: bash | ||
| env: | ||
| SALT_REQUIREMENT: salt==${{ matrix.salt-version }} | ||
| SKIP_REQUIREMENTS_INSTALL: true | ||
| run: | | ||
| export PATH="/C/Program Files (x86)/Windows Kits/10/bin/10.0.18362.0/x64;$PATH" | ||
| nox --force-color -e tests-3 -- -vv --instafail tests/ | ||
| - name: Create CodeCov Flags | ||
| if: always() | ||
| id: codecov-flags | ||
| run: | | ||
| echo "flags=$(python -c "import sys; print('{},{},salt_{}'.format('${{ runner.os }}'.replace('-latest', ''), 'py{}{}'.format(*sys.version_info), '_'.join(str(v) for v in '${{ matrix.salt-version }}'.replace('==', '_').split('.'))))")" >> "$GITHUB_OUTPUT" | ||
| - name: Upload Project Code Coverage | ||
| uses: codecov/codecov-action@e96185f4044c2f0cedf0f022454acf9811cf8057 # v5.4.0 | ||
| with: | ||
| files: artifacts/coverage-project.xml | ||
| disable_search: true | ||
| fail_ci_if_error: false | ||
| flags: ${{ steps.codecov-flags.outputs.flags }},project | ||
| name: ${{ runner.os }}-Py${{ matrix.python-version }}-Salt${{ matrix.salt-version }}-project | ||
| use_oidc: true | ||
| version: v10.3.0 | ||
| - name: Upload Tests Code Coverage | ||
| uses: codecov/codecov-action@e96185f4044c2f0cedf0f022454acf9811cf8057 # v5.4.0 | ||
| with: | ||
| files: artifacts/coverage-tests.xml | ||
| disable_search: true | ||
| fail_ci_if_error: false | ||
| flags: ${{ steps.codecov-flags.outputs.flags }},tests | ||
| name: ${{ runner.os }}-Py${{ matrix.python-version }}-Salt${{ matrix.salt-version }}-tests | ||
| use_oidc: true | ||
| version: v10.3.0 | ||
| - name: Upload Logs | ||
| if: always() | ||
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | ||
| with: | ||
| name: runtests-${{ runner.os }}-py${{ matrix.python-version }}-Salt${{ matrix.salt-version }}.log | ||
| path: artifacts/runtests-*.log | ||
| - name: Set Exit Status | ||
| if: always() | ||
| run: | | ||
| mkdir exitstatus | ||
| echo "${{ job.status }}" > exitstatus/${{ github.job }}-Py${{ matrix.python-version }}-Salt${{ matrix.salt-version }} | ||
| - name: Upload Exit Status | ||
| if: always() | ||
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | ||
| with: | ||
| name: exitstatus-${{ github.job }}-Py${{ matrix.python-version }}-Salt${{ matrix.salt-version }} | ||
| path: exitstatus | ||
| if-no-files-found: error | ||
| macOS: | ||
| runs-on: macos-14 | ||
| timeout-minutes: 40 | ||
| strategy: | ||
| fail-fast: false | ||
| max-parallel: 2 | ||
| matrix: | ||
| include: | ||
| - {salt-version: "3006.10", python-version: "3.10"} | ||
| - {salt-version: "3007.1", python-version: "3.10"} | ||
| steps: | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
| with: | ||
| fetch-depth: 2 | ||
| - name: Set up Python ${{ matrix.python-version }} | ||
| uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| - name: Install Nox | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install "nox==$NOX_VERSION" "uv==$UV_VERSION" | ||
| env: | ||
| NOX_VERSION: '2025.2.9' | ||
| <<<<<<< before updating | ||
| UV_VERSION: '0.6.9' | ||
| ======= | ||
| UV_VERSION: '0.6.10' | ||
| >>>>>>> after updating | ||
| - name: Install Test Requirements | ||
| env: | ||
| SALT_REQUIREMENT: salt==${{ matrix.salt-version }} | ||
| run: | | ||
| nox --force-color -e tests-3 --install-only | ||
| - name: Test | ||
| env: | ||
| SALT_REQUIREMENT: salt==${{ matrix.salt-version }} | ||
| SKIP_REQUIREMENTS_INSTALL: true | ||
| run: | | ||
| nox --force-color -e tests-3 -- -vv --instafail tests/ | ||
| - name: Create CodeCov Flags | ||
| if: always() | ||
| id: codecov-flags | ||
| run: | | ||
| echo "flags=$(python -c "import sys; print('{},{},salt_{}'.format('${{ runner.os }}'.replace('-latest', ''), 'py{}{}'.format(*sys.version_info), '_'.join(str(v) for v in '${{ matrix.salt-version }}'.replace('==', '_').split('.'))))")" >> "$GITHUB_OUTPUT" | ||
| - name: Upload Project Code Coverage | ||
| uses: codecov/codecov-action@e96185f4044c2f0cedf0f022454acf9811cf8057 # v5.4.0 | ||
| with: | ||
| files: artifacts/coverage-project.xml | ||
| disable_search: true | ||
| fail_ci_if_error: false | ||
| flags: ${{ steps.codecov-flags.outputs.flags }},project | ||
| name: ${{ runner.os }}-Py${{ matrix.python-version }}-Salt${{ matrix.salt-version }}-project | ||
| use_oidc: true | ||
| version: v10.3.0 | ||
| - name: Upload Tests Code Coverage | ||
| uses: codecov/codecov-action@e96185f4044c2f0cedf0f022454acf9811cf8057 # v5.4.0 | ||
| with: | ||
| files: artifacts/coverage-tests.xml | ||
| disable_search: true | ||
| fail_ci_if_error: false | ||
| flags: ${{ steps.codecov-flags.outputs.flags }},tests | ||
| name: ${{ runner.os }}-Py${{ matrix.python-version }}-Salt${{ matrix.salt-version }}-tests | ||
| use_oidc: true | ||
| version: v10.3.0 | ||
| - name: Upload Logs | ||
| if: always() | ||
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | ||
| with: | ||
| name: runtests-${{ runner.os }}-py${{ matrix.python-version }}-Salt${{ matrix.salt-version }}.log | ||
| path: artifacts/runtests-*.log | ||
| - name: Set Exit Status | ||
| if: always() | ||
| run: | | ||
| mkdir exitstatus | ||
| echo "${{ job.status }}" > exitstatus/${{ github.job }}-Py${{ matrix.python-version }}-Salt${{ matrix.salt-version }} | ||
| - name: Upload Exit Status | ||
| if: always() | ||
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | ||
| with: | ||
| name: exitstatus-${{ github.job }}-Py${{ matrix.python-version }}-Salt${{ matrix.salt-version }} | ||
| path: exitstatus | ||
| if-no-files-found: error | ||