Skip to content

Commit

Permalink
Fix GA test
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed May 4, 2024
1 parent 3900c0d commit 998c3b3
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 25 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
20 changes: 0 additions & 20 deletions .github/install-packages.sh

This file was deleted.

67 changes: 67 additions & 0 deletions .github/tl_packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# The test framework itself
l3build
latexmk
#
# Required to build formats
bibtex
latex-bin
makeindex
tex
#
# Assuming a 'basic' font set up, metafont is required to avoid
# warnings with some packages and errors with others
metafont
mfware
#
# Dependencies for xeCJK
fontspec
ulem
xecjk
xetex
#
# Dependencies for ctex
cjk
ctex
zhnumber
#
# Dependencies for algorithm2e
algorithm2e
ifoddpage
relsize
#
# Dependencies for biblatex
biber
biblatex
biblatex-gb7714-2015
xstring
#
# Dependencies for nomencl
nomencl
koma-script
xkeyval
#
# Dependencies for ustcthesis
bigfoot
caption
fancyhdr
footmisc
filehook
natbib
notoccite
multirow
titlesec
unicode-math
#
# Dependencies for fonts
fandol
tex-gyre
xits
#
# Dependencies for extra packages
booktabs
siunitx
#
# Dependencies for doc
hypdoc
listings
xcolor
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,18 @@ on:
jobs:

test:
if: "!contains(github.event.head_commit.message, 'ci skip')"
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
name: Test
runs-on: ubuntu-latest
container: tunathu/thuthesis-test-env
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install required packages
run: bash .github/install-packages.sh
- name: Set up TeX Live
uses: zauguin/install-texlive@v3
with:
package_file: .github/tl_packages

- name: Test thesis
run: make main
Expand Down

0 comments on commit 998c3b3

Please sign in to comment.