Skip to content
This repository has been archived by the owner on Sep 9, 2023. It is now read-only.

Robert-96/altwalker-action

Repository files navigation

altwalker-action

Warning: This action is deprecated and should no longer be used. Please, migrate your workflows to the altwalker/setup-altwalker, which is being actively maintained.

Set up AltWalker and the GraphWalker command-line tools.

AltWalker is an open source Model-Based Testing framework that supports running tests written in python3 and .NET/C#. You design your tests as a directed graph and AltWalker generates test cases from your graph (using GraphWalker) and executes them.

Usage

See action.yml.

Basic

on: [push]

jobs:
  altwalker-action:

    runs-on: ubuntu-latest
    name: A example job for altwalker-action@v2

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python 3.9
      uses: actions/setup-python@v2
      with:
        python-version: '3.9'
    - name: Set up JDK 11
      uses: actions/setup-java@v2
      with:
        distribution: 'zulu'
        java-version: 11
    - name: Set up AltWalker
      uses: Robert-96/altwalker-action@v2
    - run: gw --version
      shell: bash
    - run: altwalker --version
      shell: bash

Specify AltWalker Version

The altwalker-version input supports an version using SemVer notation:

  • major versions: 0.2, 0.3
  • more specific versions: 0.3.0, 0.2.7, 0.2.6
on: [push]

jobs:
  altwalker-action:

    runs-on: ubuntu-latest
    name: A example job for altwalker-action@v2

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python 3.9
      uses: actions/setup-python@v2
      with:
        python-version: '3.9'
    - name: Set up JDK 11
      uses: actions/setup-java@v2
      with:
        distribution: 'zulu'
        java-version: 11
    - name: Set up AltWalker
      uses: Robert-96/altwalker-action@v2
      with:
        altwalker-version: '0.3.0' # The version of a AltWalker to use, using SemVer's version syntax.
    - run: gw --version
      shell: bash
    - run: altwalker --version
      shell: bash

Specify GraphWalker Version

The graphwalker-version input supports only an exact version using SemVer notation (e.g. 4.3.0, 4.3.1, 4.2.0).

on: [push]

jobs:
  altwalker-action:

    runs-on: ubuntu-latest
    name: A example job for altwalker-action@v2

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python 3.9
      uses: actions/setup-python@v2
      with:
        python-version: '3.9'
    - name: Set up JDK 11
      uses: actions/setup-java@v2
      with:
        distribution: 'zulu'
        java-version: 11
    - name: Set up AltWalker
      uses: Robert-96/altwalker-action@v2
      with:
        graphwalker-version: '4.3.1' # The version of a GraphWalker to use, using SemVer's version syntax.
    - run: gw --version
      shell: bash
    - run: altwalker --version
      shell: bash

Setup .NET

on: [push]

jobs:
  altwalker-action:

    runs-on: ubuntu-latest
    name: A example job for altwalker-action@v2

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python 3.9
      uses: actions/setup-python@v2
      with:
        python-version: '3.9'
    - name: Setup .NET 2.1
      uses: actions/setup-dotnet@v2
      with:
        dotnet-version: '2.1'
    - name: Set up JDK 11
      uses: actions/setup-java@v2
      with:
        distribution: 'zulu'
        java-version: 11
    - name: Set up AltWalker
      uses: Robert-96/altwalker-action@v2
    - run: gw --version
      shell: bash
    - run: altwalker --version
      shell: bash

License

This project is licensed under the GNU General Public License v3.0.