Fix CI workflow to run scons in latex directory

Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-01-07 21:27:07 +00:00
parent cfaa5f0e7c
commit d53beeeb3d

View File

@ -35,11 +35,14 @@ jobs:
- name: Generate test cases
run: scons generate_tests
working-directory: latex
- name: Generate PDF file
run: cp test/${{matrix.lang}}/${{matrix.faculty}}/${{matrix.thesis}}.textest main.tex && scons all
working-directory: latex
- name: Verify build with referential text
run: |
scons test pdf=build/pdfs/${{matrix.compiler}}.pdf \
ref=test/${{matrix.lang}}/${{matrix.faculty}}/${{matrix.thesis}}_${{matrix.compiler}}.txt
working-directory: latex