Skip to content

Commit

Permalink
ci: fix fontconfig install (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
sumny authored Feb 4, 2025
1 parent 0567602 commit 201ed40
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/unittests_gym_py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ jobs:
- name: Run yahpo_gym tests [python]
run: |
pytest -sv yahpo_gym/tests/
- name: "Prepare [R]"
- name: Prepare [R]
run: |
cd ~/work/yahpo_gym/yahpo_gym/yahpo_gym_r
sudo apt install libcurl4-openssl-dev libgit2-dev libharfbuzz-dev libfribidi-dev
sudo apt-get update
sudo apt-get install -y libcurl4-openssl-dev libgit2-dev libharfbuzz-dev libfribidi-dev libfontconfig1-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev
Rscript -e "if (!requireNamespace('remotes')) install.packages('remotes', type = 'source')"
Rscript -e "if (getRversion() < '3.2' && !requireNamespace('curl')) install.packages('curl', type = 'source')"
Rscript -e "install.packages('devtools')"
Expand All @@ -36,4 +37,4 @@ jobs:
run: |
cd ~/work/yahpo_gym/yahpo_gym/yahpo_gym_r
echo "RETICULATE_PYTHON = $(which python)" >> ~/.Renviron
Rscript -e "devtools::test()"
Rscript -e "devtools::test()"

0 comments on commit 201ed40

Please sign in to comment.