Skip to content

Commit

Permalink
selenium system test into CI for html_report
Browse files Browse the repository at this point in the history
  • Loading branch information
SurajBDeore committed Dec 12, 2024
1 parent 3bf1317 commit 85bee83
Show file tree
Hide file tree
Showing 4 changed files with 462 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,21 @@ jobs:
- name: Run TRLC
run: |
make trlc
selenium-tests:
name: Run Selenium Tests
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install selenium webdriver-manager
- name: Run selenium Tests
run: |
make selenium-tests
test:
name: TestSuite
needs: [lint, trlc]
needs: [lint, trlc, selenium-tests]
strategy:
matrix:
os: [ubuntu-24.04, windows-2022, macos-13, macos-14]
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ clang-tidy:
cmake -S llvm -B build -G Ninja -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra' -DCMAKE_BUILD_TYPE=Release && \
cmake --build build --target clang-tidy

selenium-tests:
@echo "Running Selenium Tests..."
python3 ./tests-system/lobster-core/html_report/selenium-test/test_html_report.py

integration-tests: packages
(cd tests-integration/projects/basic; make)
(cd tests-integration/projects/filter; make)
Expand Down
Loading

0 comments on commit 85bee83

Please sign in to comment.