Skip to content

Commit

Permalink
Fix final CI
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Li <[email protected]>
  • Loading branch information
adam2392 committed Oct 31, 2023
1 parent a071f1e commit e4cb443
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu, macos, windows]
python-version: [3.9, "3.11"] # oldest and newest supported versions
python-version: [3.9, "3.11"] # oldest and newest supported versions
poetry-version: [1.6.1]
networkx: [stable, main]
exclude:
- python-version: 3.9
networkx: main
name: Unit-test ${{ matrix.os }} - py${{ matrix.python-version }} - Networkx ${{ matrix.networkx }}
runs-on: ${{ matrix.os }}-latest
defaults:
Expand Down Expand Up @@ -149,14 +152,15 @@ jobs:
git clone https://github.com/networkx/networkx.git
cd networkx
pip install .[default]
# pip install --progress-bar off git+https://github.com/networkx/networkx
- name: Setup torch for pgmpy
if: "matrix.os == 'ubuntu'"
shell: bash
run: |
sudo apt-get install nvidia-cuda-toolkit nvidia-cuda-toolkit-gcc
- name: Run pytest # headless via Xvfb on linux
- name: Run pytest # headless via Xvfb on linux
run: poetry run poe unit_test
- name: Upload coverage stats to codecov
if: ${{ matrix.os == 'ubuntu' && matrix.python-version == '3.11' && matrix.networkx == 'stable' }}
Expand Down
1 change: 1 addition & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ rules:
line-length: disable
document-start: disable
truthy: disable
comments: disable

0 comments on commit e4cb443

Please sign in to comment.