tests/artifacts/PURPOSE
author Matt Harbison <matt_harbison@yahoo.com>
Sat, 17 Aug 2024 17:38:35 -0400
changeset 51810 07086b3ad502
parent 39490 966950954fda
permissions -rw-r--r--
typing: declare the `_phasesets` member of `phasecache` to be `Optional` Something in this area got flagged while making the repository class visible to pytype (instead of being typed as `Any`). A None assignment to something not optional is wrong, and when I tried setting it to `{}` to keep it non-Optional, some tests failed. There are checks for the attr being None elsewhere, so this seems to have just been an oversight.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
39490
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     1
This directory is meant to cache artifacts useful for tests (such as bundle).
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     2
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     3
Those artifacts need to be cached because they are slow to regenerate on each
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     4
test but too large to be tracked within the repository. They are not expected
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     5
to change between each run and can be cached.
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     6
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     7
The `./scripts/` contains code to generate the artifact while the `cache`
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     8
directory contains resulting artifact.
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     9