Skip to content

Commit

Permalink
Merge pull request OpenChain-Project#113 from nokia/automatic-test
Browse files Browse the repository at this point in the history
Automatic test
  • Loading branch information
vargenau authored Oct 13, 2024
2 parents 2eb32fd + 2c6cc72 commit db6a152
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test-validator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Test validator"
on:
pull_request:
paths:
- 'tools/openchain_telco_sbom_validator/**'

jobs:
test:
runs-on: ubuntu-latest
env:
TERM: linux
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Building environment
run: |
cd tools/openchain_telco_sbom_validator/
python3 -m venv .env
cd testing/
wget https://raw.githubusercontent.com/thorsteinssonh/bash_test_tools/master/bash_test_tools
- name: Run tests
run: |
cd tools/openchain_telco_sbom_validator/testing/
echo $TERM
./test-test.sh

0 comments on commit db6a152

Please sign in to comment.