Bump pytest from 8.4.1 to 8.4.2 #141
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: Env Var PATH | |
| on: | |
| push: | |
| schedule: | |
| - cron: "0 0 1 * *" # Midnight every month (UTC) | |
| workflow_dispatch: | |
| jobs: | |
| job1: | |
| name: Example 1 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Show PATH | |
| run: echo "PATH is '${PATH}'" | |
| - name: Add PATH (takes effect in subsequent steps) | |
| run: | | |
| echo "${HOME}/imaginary" >> "${GITHUB_PATH}" | |
| echo 'No effect in the current step.' | |
| echo "PATH is '${PATH}'" | |
| - name: Show updated PATH | |
| run: echo "PATH is '${PATH}'" | |
| job2: | |
| name: Example 2 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Changes made in other jobs are isolated | |
| run: echo "PATH is '${PATH}'" | |
| - name: Using export works for the current step | |
| run: | | |
| export PATH="${HOME}/imaginary:${PATH}" | |
| echo "PATH is '${PATH}'" | |
| - name: Using export does not persist to subsequent steps | |
| run: echo "PATH is '${PATH}'" |