chore(deps-dev): bump types-pyyaml from 6.0.12.20240808 to 6.0.12.20240917 in /client #429
Workflow file for this run
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 and test binaries whether they start | |
on: | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'client/poetry.lock' | |
jobs: | |
mac_build: | |
uses: ./.github/workflows/dist-build-mac.yaml | |
secrets: inherit | |
mac_binary_test: | |
needs: mac_build | |
runs-on: macos-13 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set Gefyra tracking config | |
shell: bash | |
run: | | |
mkdir -p ~/.gefyra | |
cd ~/.gefyra | |
touch config.ini | |
echo "[telemetry]" >> config.ini | |
echo "track = False" >> config.ini | |
- name: Get version | |
working-directory: client/ | |
run: | | |
cat pyproject.toml | grep version -m 1 | awk '{ print "APP_VERSION="substr($3, 2, length($3) -2)}' >> $GITHUB_ENV | |
- uses: actions/download-artifact@v4 | |
with: | |
name: gefyra-${{ env.APP_VERSION }}-darwin-universal | |
- name: Install QEMU 9.0.2 | |
uses: docker/actions-toolkit/.github/actions/macos-setup-qemu@19ca9ade20f5da695f76a10988d6532058575f82 | |
- name: Set up Docker | |
uses: crazy-max/ghaction-setup-docker@v3 | |
- name: Sanity run Gefyra | |
run: | | |
ls -la | |
chmod u+x ./gefyra | |
docker info | |
./gefyra --debug version | |
windows_build: | |
uses: ./.github/workflows/dist-build-windows.yaml | |
secrets: inherit | |
windows_binary_test: | |
needs: windows_build | |
runs-on: windows-2019 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Set Gefyra tracking config | |
shell: bash | |
run: | | |
mkdir -p ~/.gefyra | |
cd ~/.gefyra | |
touch config.ini | |
echo "[telemetry]" >> config.ini | |
echo "track = False" >> config.ini | |
- name: Determine App Version | |
working-directory: client/ | |
run: | | |
python ..\.github\scripts\get_version.py | |
echo "${{ env.PYAPP_PROJECT_VERSION }}" | |
- uses: actions/download-artifact@v4 | |
with: | |
name: gefyra-${{ env.PYAPP_PROJECT_VERSION }}-windows-x86_64 | |
path: gefyra | |
- name: Print info | |
run: | | |
ls | |
docker info | |
- name: Sanity run Gefyra | |
shell: cmd | |
run: .\gefyra\gefyra.exe --debug version | |
linux_build: | |
uses: ./.github/workflows/dist-build-linux.yaml | |
secrets: inherit | |
linux_binary_test: | |
needs: linux_build | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set Gefyra tracking config | |
shell: bash | |
run: | | |
mkdir -p ~/.gefyra | |
cd ~/.gefyra | |
touch config.ini | |
echo "[telemetry]" >> config.ini | |
echo "track = False" >> config.ini | |
- name: Get version | |
working-directory: client/ | |
run: | | |
cat pyproject.toml | grep version -m 1 | awk '{ print "APP_VERSION="substr($3, 2, length($3) -2)}' >> $GITHUB_ENV | |
- uses: actions/download-artifact@v4 | |
with: | |
name: gefyra-${{ env.APP_VERSION }}-linux-amd64 | |
- name: Sanity run Gefyra | |
run: | | |
chmod u+x ./gefyra | |
docker info | |
./gefyra --debug version |