cargo-semver-checks/.github/workflows
Mieszko Grodzicki 8b981cde1a
Add input exclude, allow list in package (#40)
* Add exclude, allow lists in package

* Add test for input exclude

* Second dummy crate in test workspace

* New tests

* Fix cache key

* Forgot about flat()

* Reflect changes in docs

* New key in cache test

* Shorter job name

* Allowed to fail -> expected to fail

* Update README.md

Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>

* Hash inputs in cache key

* Update cache test

* Update README

---------

Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
2023-04-23 14:24:06 -04:00
..
setup-test-workspace Add input exclude, allow list in package (#40) 2023-04-23 14:24:06 -04:00
ci.yml Environmental variables (#28) (#36) 2023-04-17 08:45:37 -04:00
README.md Add test for baseline caching (#33) 2023-04-07 10:54:46 -04:00
test-action.yml Add input exclude, allow list in package (#40) 2023-04-23 14:24:06 -04:00
test-build.yml Explain user and email in npm-cli-login (#15) 2023-02-27 16:42:26 -05:00
test-cache.yml Add input exclude, allow list in package (#40) 2023-04-23 14:24:06 -04:00
test-inputs.yml Add input exclude, allow list in package (#40) 2023-04-23 14:24:06 -04:00

The testing workflow is divided into several parts:

  • test-action.yml, which contains simple, general integration tests of the action that should be run on each platform

and the following ones run on ubuntu-latest:

  • test-build.yml containing source-related checks: linters, formatters and verifying whether the sources match dist/ directory,
  • test-inputs.yml containing specific integration tests checking whether the action inputs are processed properly,
  • test-cache.yml focusing on veryfing whether the baseline rustdoc is cached correctly.

setup-test-workspace is a helper action that creates a workspace containing two crates: the test fork of ref_slice and a dummy crate that has no matching baseline version on crates.io.