Skip to content

andry81-devops/gh-workflow--tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Tests for gh-workflow project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages