fix(deps): update all dependencies #645
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: Pre merge test | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - "**/*.py" | |
| - "**/*.toml" | |
| - "**/*.lock" | |
| - ".github/workflows/devRun.yml" | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| checks: write | |
| pages: write | |
| id-token: write | |
| jobs: | |
| merge_test: | |
| timeout-minutes: 15 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.14" | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| - name: Create venv & install dependencies | |
| run: | | |
| uv venv | |
| uv sync --all-extras --dev | |
| - name: Test with pytest | |
| env: | |
| EMAIL: ${{ secrets.EMAIL }} | |
| PASSWORD: ${{ secrets.PASSWORD }} | |
| run: xvfb-run .venv/bin/python -m pytest -m devRun --base-url ${{ vars.BASE_URL }} | |
| - name: Auto-assign reviewers | |
| uses: kentaro-m/auto-assign-action@v2.0.1 | |
| if: success() | |
| - name: Link Git Information And Browser Version To Allure Results | |
| if: always() | |
| working-directory: allure-results | |
| run: | | |
| { | |
| echo BUILD_URL=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | |
| echo GIT_BRANCH=${{ github.head_ref || github.ref_name }} | |
| echo GIT_COMMIT_ID=${{ github.sha }} | |
| echo GIT_COMMIT_MESSAGE="$(git show -s --format=%s HEAD)" | |
| echo GIT_COMMIT_AUTHOR_NAME="$(git show -s --format='%ae' HEAD)" | |
| echo GIT_COMMIT_TIME="$(git show -s --format=%ci HEAD)" | |
| echo CHROME_VERSION="$(google-chrome --product-version 2>/dev/null || true)" | |
| } >> environment.properties | |
| - name: Generate Allure HTML report (Allure 3 CLI via npx) | |
| if: always() | |
| run: npx -y allure generate allure-results --output allure-report | |
| - name: Allure PR summary | |
| if: always() | |
| uses: allure-framework/allure-action@v0.6.2 | |
| with: | |
| report-directory: "./allure-report" | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Upload Pages artifact | |
| if: always() | |
| uses: actions/upload-pages-artifact@v4 | |
| with: | |
| path: allure-report | |
| deploy_pages: | |
| needs: merge_test | |
| if: always() | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pages: write | |
| id-token: write | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |