Update build_docs.yml #96
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: Validate example files | |
on: [push] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: anaconda-client-env | |
auto-activate-base: false | |
- name: Create new conda environment | |
run: | | |
conda create -n cpacs python=3.9 | |
- name: Activate new conda environment | |
run: | | |
conda activate cpacs | |
- name: Install python modules | |
run: | | |
conda install pytest lxml tixi3 -c dlr-sc | |
- name: Run pytest | |
run: | | |
pytest |