🛠️ CI: Adapt EuroPython bot to PyLadiesCon (#3) * Adapt EuroPython bot to PyLadiesCon Closes #2 * run tests on PR and main branch (2025) * ci: run tests on PR and main branch (2025) * docs: add warning when testing registration form * adapt deployment --------- Co-authored-by: Marco Richetta <marcorichetta@gmail.com> Co-authored-by: egeakman <me@egeakman.dev> (7a93b3c512200357e4e4d81b0a8e3ad2e1ebdf3e) #3
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: EuroPython Discord Bot CI | |
| run-name: "🛠️ CI: ${{ github.event.head_commit.message }} (${{ github.sha }})" | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - "2025" | |
| pull_request: | |
| branches: | |
| - "2025" | |
| jobs: | |
| lint: | |
| name: Lint and Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "0.7.3" | |
| - name: Install Python | |
| run: uv python install | |
| - name: Install dependencies | |
| run: uv sync --dev | |
| - name: Run code checks | |
| run: uv run --dev pre-commit run --all-files | |
| continue-on-error: true | |
| - name: Run tests | |
| run: uv run pytest | |
| continue-on-error: true |