Skip to content

Commit

Permalink
test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-cheng committed Oct 9, 2023
1 parent 239bf30 commit f697df5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
strategy:
fail-fast: false
matrix:
texlive_version: [2020, 2021, 2022, latest]
texlive_version: [latest]
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
Expand All @@ -16,9 +16,7 @@ jobs:
scheme: small
texlive_version: ${{ matrix.texlive_version }}
run: |
apk add make
tlmgr install blindtext
cd test && make
- name: Check pdf files
run: |
file test/test.pdf | grep -q ' PDF '
env
unset $(env | egrep '^GITHUB|^RUNNER|^ACTIONS|^HOST|^CI|^INPUT|°SHLVL' |awk -F'=' '{print $1}')
echo "Cleaned environment:"
env
7 changes: 6 additions & 1 deletion action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ set -eo pipefail

run() {
echo -e "\033[1;34m$@\033[0m"
echo
echo
echo "-----------------"
echo
echo
"$@"
}

Expand Down Expand Up @@ -47,7 +52,7 @@ if [[ -z "$docker_image" ]]; then
fi

# ref: https://docs.miktex.org/manual/envvars.html
run docker run --rm \
docker run --rm \
-e "BIBINPUTS" \
-e "BSTINPUTS" \
-e "MFINPUTS" \
Expand Down

0 comments on commit f697df5

Please sign in to comment.