g-s-k / toml-test-action

GitHub Action to use BurntSushi's toml-test on your TOML encoder/decoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

toml-test action

This action runs toml-test with an encoder or decoder of your choosing.

Inputs

command

Required The shell command to run to invoke your encoder or decoder.

encoder

A Boolean flag specifying whether you are testing an encoder (true) or a decoder (omitted or false)

run

A glob pattern to specify which tests to run. Defaults to all.

skip

A glob pattern to specify which tests to skip. Defaults to none.

test_dir

A directory path where your custom test cases are located. See the toml-test repository for more information on custom test cases.

Example usage

uses: g-s-k/toml-test-action@v1.0
with:
  command: python3 src/my-toml-parser.py
  run: 'valid/*/*'
  skip: 'valid/array/*'

About

GitHub Action to use BurntSushi's toml-test on your TOML encoder/decoder

License:GNU General Public License v3.0


Languages

Language:TypeScript 100.0%