Upgrade Python setup action and dependencies

Updated Python setup action to version 5 and specified Python version 3.11. Also modified dependencies installation to include pyyaml.
This commit is contained in:
Adam Outler
2025-11-16 20:32:08 -05:00
committed by GitHub
parent 2309b8eb3f
commit c7032bceba

View File

@@ -46,9 +46,9 @@ jobs:
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'
python-version: '3.11'
- name: Install linting tools
run: |
@@ -94,15 +94,16 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
python-version: '3.11'
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install pytest
pip install pytest pyyaml
- name: Run unit tests
run: |
echo "🧪 Running unit tests..."
export PYTHONPATH=$PYTHONPATH:./server
pytest -m "not (docker or compose or feature_complete)"