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 e026b8a commit 0ced225
Show file tree
Hide file tree
Showing 4 changed files with 461 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,18 @@ jobs:
if: always()
run: |
util/check_local_modifications.sh
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
integration-tests:
name: Integration tests
needs: test
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,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 0ced225

Please sign in to comment.