Skip to content

Modify resume format #578

Modify resume format

Modify resume format #578

Workflow file for this run

name: Test
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
container: ghcr.io/tuna/thuthesis-test-env
steps:
- uses: actions/checkout@v4
- name: Install required packages
run: bash .github/workflows/install-packages.sh
- name: Test thesis
run: make thesis
- name: Test spine
run: make spine
- name: Test doc
run: make doc
- name: Test with l3build
run: make test
- name: Upload test results if failed
uses: actions/upload-artifact@v3
if: failure()
with:
name: test-result
path: |
build/test
build/test-testfiles
build_release:
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/v') || contains(github.event.head_commit.message, '[zip]')"
container: ghcr.io/tuna/thuthesis-test-env
steps:
- uses: actions/checkout@v4
- name: Install required packages
run: bash .github/workflows/install-packages.sh
- name: Build release zip with l3build
run: l3build ctan --config build-ctan
- name: Upload release zip
uses: actions/upload-artifact@v3
with:
name: thuthesis-ctan
path: thuthesis-ctan.zip