Skip to content

Commit

Permalink
test building with insiders
Browse files Browse the repository at this point in the history
  • Loading branch information
why-not-try-calmer committed Oct 24, 2023
1 parent a7c46ca commit fe28b8a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
- name: Install Python requirements
run: pip install -r requirements.txt

# - name: Install Python requirements insiders
# run: pip install -r requirements-insiders.txt
# env:
# MKDOCS_INSIDERS_TOKEN: ${{ secrets.MKDOCS_INSIDERS_TOKEN }}
- name: Install Python requirements insiders
run: pip install -r requirements-insiders.txt
env:
MKDOCS_INSIDERS_TOKEN: ${{ secrets.MKDOCS_INSIDERS_TOKEN }}

- name: Install Transifex client
run: |
Expand Down
24 changes: 23 additions & 1 deletion .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]

test-build:
test-simple-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -33,3 +33,25 @@ jobs:
run: mkdocs build
env:
DEFAULT_LANGUAGE_ONLY: true

test-insiders-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"

- name: Install Python requirements
run: pip install -r requirements.txt

- name: Install Python requirements insiders
run: pip install -r requirements-insiders.txt
env:
MKDOCS_INSIDERS_TOKEN: ${{ secrets.MKDOCS_INSIDERS_TOKEN }}

- name: Build documentation
run: mkdocs build
env:
DEFAULT_LANGUAGE_ONLY: true

0 comments on commit fe28b8a

Please sign in to comment.