Tests should be correctly run in automation now

This commit is contained in:
Colin Basnett
2025-04-02 15:34:52 -07:00
parent 2b347bf064
commit 76ee7c2df9

View File

@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
blender-version: [ 4.2, 4.3, 4.4 ] blender-version: [ 4.4 ]
env: env:
ADDON_NAME: io_scene_psk_psa ADDON_NAME: io_scene_psk_psa
steps: steps:
@@ -31,7 +31,7 @@ jobs:
sudo apt-get install libxkbcommon-x11-0 -y sudo apt-get install libxkbcommon-x11-0 -y
sudo apt-get install libgl1 -y sudo apt-get install libgl1 -y
sudo apt-get install libglx-mesa0 -y sudo apt-get install libglx-mesa0 -y
sudo apt-get install python3.11 -y sudo apt-get install python3 -y
- name: Install Requirements - name: Install Requirements
run: | run: |
python3 -m pip install --upgrade pip python3 -m pip install --upgrade pip
@@ -63,7 +63,7 @@ jobs:
- name: Run tests - name: Run tests
run: | run: |
source venv/bin/activate source venv/bin/activate
pytest -svv tests pytest -svv tests --blender-addons-dirs .
- name: Archive addon - name: Archive addon
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with: