-
Notifications
You must be signed in to change notification settings - Fork 3
Adding unit tests for ASN1 CryptoInterface NanoCrypto #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
sumit-sen-dc
merged 3 commits into
main
from
DTM-7533-create-github-action-for-unit-tests
Feb 13, 2026
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,47 @@ | ||
| name: "Unit Test ASN1 Extended" | ||
|
|
||
| on: | ||
| workflow_dispatch: {} | ||
|
|
||
| schedule: | ||
| - cron: '30 6 * * 1' # Monday 12:00 PM IST | ||
| - cron: '30 6 * * 3' # Wednesday 12:00 PM IST | ||
|
|
||
| jobs: | ||
| unittest-asn1-extended: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout current repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Install Dependencies | ||
| run: | | ||
| sudo apt update | ||
| sudo apt install -y cproto | ||
| sudo apt install -y ruby | ||
| sudo apt install -y build-essential | ||
| sudo apt install -y cmake | ||
| sudo apt install -y python3 python3-pip | ||
|
|
||
| # ------------------------------------------------------------------ | ||
| # Clone & prepare mocn-qa-m-products | ||
| # ------------------------------------------------------------------ | ||
| - name: Checkout mocn-qa-m-products | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| repository: digicert/mocn-qa-m-products | ||
| token: ${{ secrets.MY_SECRET_TOKEN }} | ||
| path: mocn-qa-m-products | ||
|
|
||
| # ------------------------------------------------------------------ | ||
| # Copy script and run check | ||
| # ------------------------------------------------------------------ | ||
| - name: Copy Jenkins check script | ||
| run: | | ||
| cp mocn-qa-m-products/qa_utils/check_jenkins_build_script_result/run_check_script.py . | ||
|
|
||
| - name: Running Unittest ASN1 Extended | ||
| run: | | ||
| PYTHONUNBUFFERED=1 python3 run_check_script.py "projects/asn1_unittest" "default" | ||
|
|
||
This file contains hidden or 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,46 @@ | ||
| name: "Unit Test CryptoInterface Extended" | ||
|
|
||
| on: | ||
| workflow_dispatch: {} | ||
|
|
||
| schedule: | ||
| - cron: '30 7 * * 1' # Monday 1:00 PM IST | ||
| - cron: '30 7 * * 3' # Wednesday 1:00 PM IST | ||
|
|
||
| jobs: | ||
| unittest-cryptointerface-extended: | ||
| runs-on: ubuntu-latest | ||
|
|
||
Sushmitha-MN marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| steps: | ||
| - name: Checkout current repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Install Dependencies | ||
| run: | | ||
| sudo apt update | ||
| sudo apt install -y cproto | ||
| sudo apt install -y ruby | ||
| sudo apt install -y build-essential | ||
| sudo apt install -y cmake | ||
| sudo apt install -y python3 python3-pip | ||
|
|
||
| # ------------------------------------------------------------------ | ||
| # Clone & prepare mocn-qa-m-products | ||
| # ------------------------------------------------------------------ | ||
| - name: Checkout mocn-qa-m-products | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| repository: digicert/mocn-qa-m-products | ||
| token: ${{ secrets.MY_SECRET_TOKEN }} | ||
| path: mocn-qa-m-products | ||
|
|
||
| # ------------------------------------------------------------------ | ||
| # Copy script and run check | ||
| # ------------------------------------------------------------------ | ||
| - name: Copy Jenkins check script | ||
| run: | | ||
| cp mocn-qa-m-products/qa_utils/check_jenkins_build_script_result/run_check_script.py . | ||
|
|
||
| - name: Running Unittest CryptoInterface Extended | ||
| run: | | ||
| PYTHONUNBUFFERED=1 python run_check_script.py "projects/cryptointerface_unittest" "build_and_run_all.sh" | ||
Sushmitha-MN marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or 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,31 @@ | ||
| name: "Unit Test NanoCrypto Extended" | ||
|
|
||
| on: | ||
| workflow_dispatch: {} | ||
|
|
||
| schedule: | ||
| - cron: '30 9 * * 1' # Monday 3:00 PM IST | ||
| - cron: '30 9 * * 3' # Wednesday 3:00 PM IST | ||
|
|
||
| jobs: | ||
| unittest-nanocrypto-extended: | ||
| runs-on: ubuntu-latest | ||
|
|
||
Sushmitha-MN marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| steps: | ||
| - name: Checkout current repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Install Dependencies | ||
| run: | | ||
| sudo apt update | ||
| sudo apt install -y cproto | ||
| sudo apt install -y ruby | ||
| sudo apt install -y build-essential | ||
| sudo apt install -y cmake | ||
| sudo apt install -y python3 python3-pip | ||
|
|
||
| - name: Running Unittest NanoCrypto Extended | ||
| run: | | ||
| cd projects/crypto_unittest | ||
| ./build.sh | ||
| ./run.sh | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.