diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 921c235d4c..1e1627cf32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,12 +53,32 @@ jobs: with: python-version: ${{ matrix.python-version }} cache: pip - - name: Install Dependencies - run: | - sudo apt update - sudo apt install --yes pandoc texlive-xetex librsvg2-bin - python -m pip install --upgrade pip - pandoc --version + + - uses: awalsh128/cache-apt-pkgs-action@a6c3917cc929dd0345bfb2d3feaf9101823370ad # v1.4.2 + with: + packages: librsvg2-bin pandoc + - run: pandoc --version + + - uses: r-lib/actions/setup-pandoc@6012817847b5f064d0882d67a7b5e2ca6639afb2 # v2.9.0 + - run: pandoc --version + + - uses: teatimeguest/setup-texlive-action@v3 + with: + packages: | + collection-latex + collection-latexextra + collection-latexrecommended + collection-xetex + + - run: xelatex --version + + # - name: Install Dependencies + # run: | + # sudo apt update + # sudo apt install --yes pandoc texlive-xetex librsvg2-bin + # python -m pip install --upgrade pip + # pandoc --version + - name: Install rdmo[mysql] and start mysql run: | python -m pip install --editable .[ci,mysql]