diff --git a/.github/workflows/compatibility-tests.yml b/.github/workflows/compatibility-tests.yml index 6bbcca5..d7e5435 100644 --- a/.github/workflows/compatibility-tests.yml +++ b/.github/workflows/compatibility-tests.yml @@ -13,20 +13,26 @@ jobs: strategy: matrix: os: [ubuntu-latest, ubuntu-20.04, macos-latest, windows-latest] - python-version: [3.8, 3.9, 3.10, 3.11] + python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - - uses: actions/checkout@v3 - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python-version }} - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - - - name: Run test script - run: python tests/build/test_imports_and_build.py \ No newline at end of file + - uses: actions/checkout@v3 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + + - name: Update and install libglu1-mesa (Ubuntu only) + run: | + sudo apt update + sudo apt-get install -y libglu1-mesa + if: runner.os == 'Linux' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Run test script + run: python tests/build/test_imports_and_build.py \ No newline at end of file