Add get_active_kernel() function to Python Interpreter and use it to fix some plotting issues on newer versions of matplotlib #302
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build 2.12 | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
architecture: 'x64' | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: 8 | |
architecture: x64 | |
- name: Build | |
run: | | |
echo "Setting up Python dependencies" | |
pip install -r ./requirements.txt | |
jep_site_packages_path=`pip show jep | grep "^Location:" | cut -d ':' -f 2 | cut -d ' ' -f 2` | |
jep_path=${jep_site_packages_path}/jep | |
jep_lib_path=`realpath ${jep_site_packages_path}/../../` | |
export LD_LIBRARY_PATH=${jep_path}:${jep_site_packages_path}:${jep_lib_path}:${LD_LIBRARY_PATH} | |
export LD_PRELOAD=${jep_lib_path}/libpython3.so | |
pushd $GITHUB_WORKSPACE | |
sbt 'set scalaVersion := "2.12.12"' test | |
popd |