Testing#

' Copyright 2026 the contributors of APPXC (github.com/alexander-nbg/appxc)
' SPDX-License-Identifier: 0BSD
@startuml

|Application|
start
:<b>workflows/test.yml</b>;
|APPXC|
:<b>actions/setup/action.yml</b>(python version)
Plus appxc token as long as not appxc;

|Application|
:<b>actions/setup/action.yml</b>
(optional) for application
specific installations;

|APPXC|
:<b>.github/actions/run-tox</b>
Install, cache venv and run tox.;
|Application|
end
@enduml

Current Setup#

  • Entry point: .github/workflows/test.yml

    • Calls: appxc/github/test@main (os, python version)

      • checkout repo

      • checkout appxc (if not running on appxc)

      • Calls: ./.github/actions/setup (only if on appxc)

      • Calls: appxc/.github/actions/setup (if not on appxc)

      • install appxc

      • tox preparation

      • run tox (if not appxc) << wrong

TODO:#

  • User RUNNER_OS instead of passing the os as argument.

v0.0.3