Allow attendees to modify their data (Z#23152886) #1840
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 | |
on: | |
push: | |
branches: [ master ] | |
paths-ignore: | |
- 'doc/**' | |
- 'src/pretix/locale/**' | |
pull_request: | |
branches: [ master ] | |
paths-ignore: | |
- 'doc/**' | |
- 'src/pretix/locale/**' | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
env: | |
FORCE_COLOR: 1 | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
name: Packaging | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install system dependencies | |
run: sudo apt update && sudo apt install gettext unzip | |
- name: Install Python dependencies | |
run: pip3 install -U setuptools build pip check-manifest | |
- name: Run check-manifest | |
run: check-manifest | |
- name: Run build | |
run: python -m build | |
- name: Check files | |
run: unzip -l dist/pretix*whl | grep node_modules || exit 1 |