Skip to content

Commit

Permalink
tests.yml: only apt-get install on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
justbuchanan committed Oct 24, 2023
1 parent 643cfc6 commit 1f08286
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Dependencies (Linux)
run: sudo apt-get update && sudo apt install -y libgl1-mesa-glx
if: matrix.os == 'ubuntu-latest'
- uses: actions/checkout@v2
- name: Install CadQuery and pytest
run: |
pip3 install --upgrade pip
pip3 install -e .
pip3 install -e .[dev]
sudo apt-get update && sudo apt install -y libgl1-mesa-glx
- name: Run tests
run: |
python3 -m pytest -v

0 comments on commit 1f08286

Please sign in to comment.