Skip to content

Commit

Permalink
Change-2, fixed python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
thivinanandh committed Apr 28, 2024
1 parent 12a19bd commit 7b3f824
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions .github/workflows/compatibility-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- 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

0 comments on commit 7b3f824

Please sign in to comment.