Update pixi lockfile and pre-commit hooks #1451
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: run-pytest | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| ci-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| permissions: | |
| contents: "read" | |
| id-token: "write" | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 2 | |
| - name: Set default GCP credentials | |
| id: gcloud-auth | |
| continue-on-error: true | |
| uses: "google-github-actions/auth@v3" | |
| with: | |
| workload_identity_provider: "projects/345950277072/locations/global/workloadIdentityPools/gh-actions-pool/providers/gh-actions-provider" | |
| service_account: "pudl-sources@catalyst-cooperative-pudl.iam.gserviceaccount.com" | |
| - name: Set up pixi | |
| uses: prefix-dev/setup-pixi@v0.10.1 | |
| - name: Additional Playwright setup | |
| run: | | |
| pixi run playwright install --with-deps webkit | |
| pixi run playwright install --with-deps chromium | |
| - name: Run PyTest | |
| env: | |
| ZENODO_SANDBOX_TOKEN_PUBLISH: ${{ secrets.ZENODO_SANDBOX_TOKEN_PUBLISH }} | |
| ZENODO_SANDBOX_TOKEN_UPLOAD: ${{ secrets.ZENODO_SANDBOX_TOKEN_UPLOAD }} | |
| EPACEMS_API_KEY: ${{ secrets.EPACEMS_API_KEY }} | |
| run: | | |
| pixi run ci | |
| - name: Upload test coverage report to CodeCov | |
| uses: codecov/codecov-action@v7 |