1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-10-15 19:42:06 +00:00
forgejo-runner/act
Earl Warren 87d973b894 chore(tests): add coverage for ./pkg/runner (#202)
Only changes test files.

---

- remove tests specific to running on a host with no container
  they are the same as with the containers (TestRunEventHostEnvironment)
- prefix the name of the tests with a distinctive name to
  more easily run them together
- use code.forgejo.org/oci images whereever possible
- remove some tests that are either
  - difficult to understand (ancient bugs)
  - not yet well understood (related to reusable workflows)
  - depend on github (generation of workflows to be run on the fly
    e.g. updateTestIfWorkflow)
- fix the TestSanitizeNetworkAlias tests that were not run
  and make them easier to debug
- disable tests of options that are forbidden in Forgejo Actions
  (testdata/container-hostname/push.yml)

Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/202
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-07-28 06:18:46 +00:00
..
artifactcache chore(tests): add coverage for ./pkg/artifactcache (#198) 2025-07-27 15:25:14 +00:00
cacheproxy chore(refactor): add common.RandName to keep name generation DRY 2025-07-12 18:54:17 +02:00
common fix: sum256 the container name so derivations do not overflow (#191) 2025-07-25 09:44:25 +00:00
container chore(tests): add coverage for ./pkg/container (#201) 2025-07-26 16:37:12 +00:00
exprparser chore(lint): fix lint errors 2024-12-30 21:11:02 +00:00
filecollector chore: enable staticcheck (#196) 2025-07-26 03:55:31 +00:00
jobparser fix: tolerate strings for fail-fast, max-parallel, timeout-minutes, cancel-timeout-minutes (#203) 2025-07-27 10:06:07 +00:00
lookpath feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
model chore(tests): add coverage for ./pkg/runner (#202) 2025-07-28 06:18:46 +00:00
runner chore(tests): add coverage for ./pkg/runner (#202) 2025-07-28 06:18:46 +00:00
schema fix: allow using the env context in actions defaults (#204) 2025-07-27 15:24:49 +00:00
testutils fix: image credentials for services must not override container image credentials (#181) 2025-07-15 20:55:38 +00:00
workflowpattern feat: workflowpattern package (#1618) 2023-02-23 18:21:08 +00:00