Skip to content

Translated using Weblate (German) #564

Translated using Weblate (German)

Translated using Weblate (German) #564

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
workflow_call:
outputs:
artifact-name:
description: "Name of the uploaded artifact; use for artifact retrieval."
value: ${{ jobs.package.outputs.artifact-name }}
# Cancel active CI runs for a PR before starting another run
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash # https://github.com/beeware/briefcase/pull/912
env:
FORCE_COLOR: "1"
jobs:
pre-commit:
name: Pre-commit checks
uses: beeware/.github/.github/workflows/pre-commit-run.yml@main
package:
name: Python package
uses: beeware/.github/.github/workflows/python-package-create.yml@main
test:
name: Test Python package
needs: package
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Get packages
uses: actions/[email protected]
with:
name: ${{ needs.package.outputs.artifact-name }}
path: dist
- uses: actions/[email protected]
with:
python-version: "3.x"
- name: Install package
run: |
python -m pip install dist/beeware*.whl
- name: Verifies that briefcase is installed and working
run: |
briefcase -V