-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds a ci_script GitHub action and splits the jobs to run specific tests. Signed-off-by: Gowtham Suresh Kumar <[email protected]>
- Loading branch information
1 parent
90b8b3d
commit d339be8
Showing
3 changed files
with
103 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: "Run CI Tests" | ||
description: "Run the ci.sh script with the specified flags" | ||
inputs: | ||
ci-flags: | ||
required: true | ||
description: "Flags with which to run the ci.sh tests" | ||
rs-version: | ||
required: true | ||
default: "stable" | ||
description: "Rust version with which to run the tests" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Load Docker | ||
uses: ./.github/actions/load_docker | ||
if: ${{ env.TEST_DOCKER_IMAGE == 'parsec-openssl-provider-test' }} | ||
with: | ||
image-name: "${{ env.TEST_DOCKER_IMAGE }}" | ||
image-path: "/tmp" | ||
- name: Run the container to execute the test script | ||
run: docker run -v $(pwd):/tmp/parsec-openssl-provider -w /tmp/parsec-openssl-provider --env RUST_TOOLCHAIN_VERSION=${{ inputs.rs-version }} -t ${{ env.TEST_DOCKER_IMAGE }} /tmp/parsec-openssl-provider/ci.sh --${{ inputs.ci-flags }} | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters