Skip to content

Merge pull request #223 from nokia/add-222-test #73

Merge pull request #223 from nokia/add-222-test

Merge pull request #223 from nokia/add-222-test #73

Workflow file for this run

name: Run Pytest
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11' # change as needed
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Run tests with pytest
run: |
pwd
ls -la
cd tools/openchain_telco_sbom_validator/unittests
pip install ../
pytest