Merge pull request #2135 from hgrecco/_testing_improve #1515
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation Build | |
on: [push, pull_request] | |
jobs: | |
docbuild: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: prefix-dev/setup-pixi@v0.8.1 | |
with: | |
environments: docs | |
- run: pixi run --environment docs docbuild | |
doctest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: prefix-dev/setup-pixi@v0.8.1 | |
with: | |
environments: docs | |
- name: Install locales | |
run: | | |
sudo apt-get install language-pack-fr | |
sudo localedef -i fr_FR -f UTF-8 fr_FR | |
- run: pixi run --environment docs doctest |