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