network/.github
Rich Megginson 6c74dee859 ci: fix python unit test - copy pytest config to tests/unit
This is fixed by tox-lsr 3.2.2 - all actions that use tox-lsr are updated to
3.2.2, not just the python unit tests, even though the fix is only related to
pytest.  All roles are updated to use tox-lsr 3.2.2 for the sake of consistency
even if not affected by the pytest issue.

Something changed recently in the way github actions provisions systems which
means some of the directories are not readable by the python unit test actions.
In addition, the python unit tests were causing a lot of unnecessary directory
traversal doing collection/discovery of unit test files, because of using
`pytest -c /path/to/tox-lsr/pytest.ini` Unfortunately, with `pytest`, the
directory of the config file is the root directory for the tests and tests
discovery, and there is no way around this.

Therefore, the only solution is to copy the tox-lsr `pytest.ini` to the
`tests/unit` directory, which makes that the test root directory.

See also https://github.com/linux-system-roles/tox-lsr/pull/160

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2024-02-05 17:14:33 -07:00
..
workflows ci: fix python unit test - copy pytest config to tests/unit 2024-02-05 17:14:33 -07:00
CODEOWNERS Github: Add CODEOWNERS 2023-02-09 14:15:58 +01:00
dependabot.yml ci: ensure dependabot git commit message conforms to commitlint 2023-10-05 17:39:51 -06:00
Dockerfile.c7-network-role CI: Enable CentOS 7 integration test 2022-01-28 17:47:13 +01:00
Dockerfile.c8s-network-role CI: Enable integration test in Github Action 2021-07-28 19:50:09 +08:00
Dockerfile.c9s-network-role CI: Enable CentOS 9 stream integration test 2022-02-05 19:25:09 +01:00
pull_request_template.md ci: Add pull request template and run commitlint on PR title only 2023-06-13 11:23:21 -06:00
run_test.sh refactor: get_ostree_data.sh use env shebang - remove from .sanity* 2023-12-07 07:25:47 -07:00
stale.yml github: add stale workflow 2020-10-26 14:59:30 +01:00