Skip to content

Commit

Permalink
[RDK-35868] - Add unit tests to BundleGen (rdkcentral#78)
Browse files Browse the repository at this point in the history
As part of this pull request, added the workflow changes for L1 unit testing
  • Loading branch information
KaurSup authored Nov 30, 2022
1 parent 42156a8 commit 596fb13
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/L1-unit_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: L1 unit test

on:
push:
branches: [ master, main, 'sprint/**', 'release/**' ]

pull_request:
# By default: opened, synchronize, or reopened
branches: [ master, main, 'sprint/**', 'release/**' ]

jobs:
L1-unit-test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash

steps:

- name: Checkout this repository
echo "Checkout this repo"
uses: actions/checkout@v3
with:
path: Bundlegen

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
cache: 'pip'
- run: pip install -r Bundlegen/requirements.txt
- run: pip install --editable Bundlegen/

- name: Run the unit test
working-directory: ./Bundlegen/unit_tests/L1_testing
run: |
python run_L1_test.py

0 comments on commit 596fb13

Please sign in to comment.