Bump all extra dependencies #2194
This file contains 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: Build & release | |
"on": | |
# Target are chosen so that all commits get a chance to have their build tested. | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
release: | |
uses: kdeldycke/workflows/.github/workflows/[email protected] | |
secrets: | |
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | |
test-binaries: | |
needs: release | |
strategy: | |
matrix: ${{ fromJSON(needs.release.outputs.nuitka_matrix) }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Download artifacts | |
uses: actions/[email protected] | |
id: artifacts | |
with: | |
name: ${{ matrix.bin_name }} | |
- name: Set binary permissions | |
if: runner.os != 'Windows' | |
run: | | |
chmod +x ${{ steps.artifacts.outputs.download-path }}/${{ matrix.bin_name }} | |
# Runs the same binary tests as in the brew official Formula: | |
# https://github.com/Homebrew/homebrew-core/blob/f0a4d69/Formula/meta-package-manager.rb#L401-L413 | |
- name: mpm --verbosity DEBUG --version | |
run: | | |
${{ steps.artifacts.outputs.download-path }}/${{ matrix.bin_name }} --verbosity DEBUG --version | |
- name: mpm --help | |
run: | | |
${{ steps.artifacts.outputs.download-path }}/${{ matrix.bin_name }} --help | |
- name: mpm --output-format csv --all-managers managers | |
run: > | |
${{ steps.artifacts.outputs.download-path }}/${{ matrix.bin_name }} | |
--output-format csv --all-managers managers | |
- name: mpm --no-color --output-format csv installed | |
# XXX Ideally we would like to use --no-color to simplify Homebrew's formula checks. | |
# See: https://github.com/kdeldycke/meta-package-manager/issues/1004 | |
run: | | |
${{ steps.artifacts.outputs.download-path }}/${{ matrix.bin_name }} --no-color --output-format csv installed |