Skip to content

Commit

Permalink
Removed graphviz installation; Used "agg" as mpl backend
Browse files Browse the repository at this point in the history
  • Loading branch information
SiddhantSadangi committed Mar 26, 2024
1 parent 7c3b10f commit abfc6c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/actions/e2e/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ runs:
shell: bash
env:
MPLLOCALFREETYPE: "1"
# - name: Setup Graphviz
# uses: ts-graphviz/setup-graphviz@v1
# with:
# ubuntu-skip-apt-update: true
# macos-skip-brew-update: true

- name: Run tests
working-directory: ${{ inputs.working_directory }}
Expand Down
3 changes: 3 additions & 0 deletions tests/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
except ImportError:
from neptune.new import Run, init_run

import matplotlib as mpl
import pytest
from sklearn.cluster import KMeans
from sklearn.dummy import (
Expand All @@ -16,6 +17,8 @@

import neptune_sklearn as npt_utils

mpl.use("agg")


def test_classifier_summary(iris):
with init_run() as run:
Expand Down

0 comments on commit abfc6c2

Please sign in to comment.