Monodocs sphinx build #6579
Workflow file for this run
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: tests | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
compile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch the code | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.19" | |
- name: Compile | |
run: make compile | |
- name: Run tests | |
run: make test_unit | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch the code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
python-version: 3.9 | |
mamba-version: "*" | |
channels: conda-forge | |
channel-priority: true | |
activate-environment: monodocs-env | |
environment-file: monodocs-environment.yaml | |
- shell: bash -el {0} | |
run: | | |
conda info | |
conda list | |
conda config --show-sources | |
conda config --show | |
printenv | sort | |
- name: Build the documentation | |
shell: bash -el {0} | |
run: make docs | |
generate_kustomize: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: "1.19" | |
- name: Kustomize and diff | |
run: DELTA_CHECK=true make kustomize | |
generate_helm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: "1.19" | |
- name: Helm and diff | |
run: DELTA_CHECK=true make helm |