Skip to content

Commit

Permalink
Avoid setup duplicity on CI tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gusbrs committed Nov 9, 2023
1 parent 0ed61a6 commit 33243de
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ name: CI l3build test suite
on: [push, pull_request]

jobs:
tests:
name: Regression tests
setup:
name: Common setup

runs-on: ubuntu-latest
container:
Expand All @@ -29,6 +29,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

tests:
name: Regression tests
needs: setup

steps:
- name: Run tests
run: l3build check -q --show-log-on-error

Expand All @@ -41,17 +46,8 @@ jobs:

doc:
name: Documentation

runs-on: ubuntu-latest
container:
image: registry.gitlab.com/islandoftex/images/texlive:latest
needs: setup

steps:
- name: Update TeX Live
run: tlmgr update --self --all

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

- name: Compile documentation
run: l3build doc -q

0 comments on commit 33243de

Please sign in to comment.