feat(CICD): add serverlibrary tests

This commit is contained in:
Lucas Vivo committed 2026-11-16 19:48:08 +01:00
1 parent 1272f92b4e
commit e06a03ef66
1 file changed
+23 -1
+23 -1
View File
@@ -5,7 +5,29 @@ on:
pull_request:
jobs:
test:
test-serverlibrary:
runs-on: ubuntu-latest
container:
image: nikolaik/python-nodejs:python3.12-nodejs20
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Create virtual environment and install dependencies
working-directory: serverlibrary
run: |
python -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install .
- name: Run tests
working-directory: serverlibrary
run: |
. .venv/bin/activate
python run_tests.py
test-wallpaper-changer:
runs-on: ubuntu-latest
container:
image: nikolaik/python-nodejs:python3.12-nodejs20