Skip to content

Setup Rust for tests

Actions
Github action to set up Rust environment and running the tests
v1
Latest
Star (1)

setup-rust Github Action

Inputs

context

Optional Directory to execute the tests. Default value: "."

run_tests

Optional If tests execution is required. Default value: false

Example usages

  1. Run the tests in the specified directory.

    uses: albertosml/setup-rust@v1
    with:
    	context: './rust_code'
    	run-tests: true
    
  2. Run the tests in the root directory.

    uses: albertosml/setup-rust@v1
    with:
    	run-tests: true
    
  3. Don't run the tests.

    uses: albertosml/setup-rust@v1
    with:
    	run-tests: false
    

Finally, you can also see more real examples on this file.

Setup Rust for tests is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Github action to set up Rust environment and running the tests
v1
Latest

Setup Rust for tests is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.