Expose downloads in attendee-tickets #81
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: Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths-ignore: | |
| - 'pretix_extended_api/locale/**' | |
| pull_request: | |
| branches: [ main ] | |
| paths-ignore: | |
| - 'pretix_extended_api/locale/**' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| name: Tests | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python 3.9 | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: 3.9 | |
| - name: Install pdm | |
| run: pip install pdm | |
| - uses: actions/cache@v1 | |
| with: | |
| path: ~/.virtualenvs | |
| key: ${{ runner.os }}-pdm-${{ hashFiles('**/pdm.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pdm- | |
| - name: Install system dependencies | |
| run: sudo apt update && sudo apt install gettext | |
| - name: Install Dependencies | |
| run: pdm install | |
| - name: Run checks | |
| run: pdm run pytest tests |