From 4281b65fd2700d8a913f964485014a84f8090cea Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Tue, 12 Mar 2024 22:22:55 -0700 Subject: [PATCH] Update ci --- .github/workflows/pipeline.yaml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index 0e5b307..5edf29e 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -3,29 +3,33 @@ on: [push, pull_request] jobs: tests: - runs-on: ubuntu-latest strategy: matrix: - blender: [latest, 3.6lts, 3.3lts, 2.93lts, 2.83lts] + blender: [latest] + os: [ubuntu-latest] + pyversion: ['3.8'] + runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: - python-version: 3.8 - - name: Install Blender - run: | - sudo apt-get install -y libglu1-mesa - sudo snap install blender --channel=${{ matrix.blender }}/stable --classic + python-version: ${{ matrix.pyversion }} + cache: pip + - uses: Moguri/setup-blender@b856971137e9cbd32ee49f9f20ca3f1637896c44 + with: + blender-version: ${{ matrix.blender }} - name: Run Tests run: | + echo $PATH + blender --version python -m pip install -e .[test] python -m pytest build_publish: needs: tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: 3.8 - name: Build package