Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
angusmcb committed Dec 23, 2024
1 parent f90693a commit 6ce5f6f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/conda-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ jobs:
os: ["ubuntu-latest", "macos-13", "windows-latest"]
python-version: ["3.9", "3.10","3.11", "3.12"]
steps:
- name: apt libxcb on ubuntu
if: ${{ matrix.os =='ubuntu-latest' }}
run: sudo apt-get install libxcb-xinerama0
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
Expand All @@ -28,11 +25,15 @@ jobs:
- name: Install packages
shell: bash -el {0}
run: |
conda install -y qgis wntr pytest pytest-cov geopandas pytest-xvfb
conda install -y qgis wntr pytest pytest-cov geopandas
pip install pytest-qgis
- name: Conda info
shell: bash -el {0}
run: conda info
- name: Run tests
- name: Run tests (non-Ubuntu)
if: ${{ matrix.os !='ubuntu-latest' }}
shell: bash -el {0}
run: pytest
- name: Run Tests (Ubuntu)
if: ${{ matrix.os =='ubuntu-latest' }}
run: xvfb-run -s '+extension GLX -screen 0 1024x768x24' python3 -m pytest -v

0 comments on commit 6ce5f6f

Please sign in to comment.