From d1a509b2d189508941008978afe3af99b5ea5679 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Wed, 8 May 2024 11:40:16 -0400 Subject: [PATCH] CI: Install texlive --- .circleci/config.yml | 17 +++++++++++++++++ .github/workflows/build_test_deploy.yml | 11 +++++++++++ 2 files changed, 28 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 060614f9..24242f44 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,6 +20,23 @@ jobs: name: Install package command: pip install .[test] + - restore_cache: + keys: + - apt-v0 + paths: + - /var/lib/apt + + - run: + name: Install texlive + command: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends texlive + + - save_cache: + key: apt-v0 + paths: + - /var/lib/apt + - restore_cache: keys: - tf-v0 diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index b41c18a3..6576562d 100644 --- a/.github/workflows/build_test_deploy.yml +++ b/.github/workflows/build_test_deploy.yml @@ -94,6 +94,17 @@ jobs: - name: Display Python version run: python -c "import sys; print(sys.version)" + - uses: actions/cache@v4 + with: + path: /var/lib/apt + key: apt-cache-v0 + restore-keys: | + apt-cache-v0 + - name: Install tex + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends texlive + - name: Install package run: pip install $PACKAGE - name: Verify installation