qutebrowser/.github/workflows
toofar 914227ca1c Set TMPDIR to RUNNER_TEMP on CI
The upload artifact action can't collect artifacts from /tmp/ in the test
runners. So now that we are writing the screenshots that we want to collect
later to the pytest `tmp_path` location we need to make sure that lives
somewhere the later actions can find it.

Pytest uses `tempfile.gettempdir()` to find the temp dir, and that respects a
number of environment variables including `TMPDIR`. This commits sets TMPDIR
to RUNNER_TEMP in in our test runners to make pytest uses the temp dir that's
mounted into the action containers.

For the docker based runners I can use the `env` map, but for the ubuntu ones
it didn't let me expand `${{ runner.temp }}` in the end map under `step`, so
I'm writing it to the env file for the runner instead. It failed to parse the
action yaml and said:

    > Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.temp

For the user part of the `pytest-of-$user` directory, I looked at the new
screenshot related test summary lines to see what the user was called.
`runner` on the ubuntu containers and `user` in our docker containers. Pytest
maintains the "pytest-current" symlink to the latest temp folder.
2024-08-18 12:42:35 +12:00
..
bleeding.yml Set TMPDIR to RUNNER_TEMP on CI 2024-08-18 12:42:35 +12:00
ci.yml Set TMPDIR to RUNNER_TEMP on CI 2024-08-18 12:42:35 +12:00
docker.yml Bump docker/build-push-action from 5 to 6 2024-06-17 18:11:57 +00:00
nightly.yml ci: Drop macOS 11 2024-06-27 22:04:40 +02:00
recompile-requirements.yml build(deps): bump peter-evans/create-pull-request from 5 to 6 2024-02-05 18:47:44 +00:00
release.yml ci: Drop macOS 11 2024-06-27 22:04:40 +02:00