Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 935 Bytes

File metadata and controls

37 lines (23 loc) · 935 Bytes

Tests for gh-workflow project

https://github.com/andry81-devops/gh-workflow

Usage

Local

  1. Download gh-workflow:

    git clone https://github.com/andry81-devops/gh-workflow
  2. Open Linux or Cygwin console, for example, in tests/manual/bash/cache/* directory.

Note

Base distribution of Linux Ubuntu 20.x/24.x and Cygwin 3.x contains https://github.com/kislyuk/yq implementation.
Github Actions distribution of Linux Ubuntu 20.x/24.x contains https://github.com/mikefarah/yq/ implementation.

  1. Optionally copy into tools directory an yq.exe executable to use a particular yq implementation.

  2. Set workflow root variables:

    GH_WORKFLOW_ROOT=$(realpath PATH-TO-GH-WORKFLOW-ROOT)
  3. Run a test script:

    ./test.sh
  4. The /tmp directory would contain the intermediate files to compare between each other.