1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-10-05 19:30:59 +00:00
forgejo-runner/act/model
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
..
testdata chore(tests): add coverage for ./pkg/runner (#202) 2025-07-28 06:18:46 +00:00
action.go feat: Validate GitHub Actions schema (#2416) 2025-07-11 14:12:22 +02:00
github_context.go fix: improve warning about remote not found (#2169) 2024-01-28 19:21:21 +00:00
github_context_test.go fix: correct ref and ref_name (#1672) 2023-03-09 20:03:13 +00:00
job_context.go refactor: export and move shared contexts into pkg/model (#931) 2021-12-22 19:52:09 +00:00
planner.go feat!: add the validate argument to reading workflows (#180) 2025-07-16 08:46:36 +00:00
planner_test.go feat!: add the validate argument to reading workflows (#180) 2025-07-16 08:46:36 +00:00
step_result.go refactor: fix savestate in pre steps (#1466) 2022-12-15 17:08:31 +00:00
workflow.go fix: sum256 the container name so derivations do not overflow (#191) 2025-07-25 09:44:25 +00:00
workflow_test.go feat: use hashed uses string as cache dir name (#186) 2025-07-21 21:08:46 +00:00