Added example script to validate GEOS-Chem photolysis reactions #89
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
--- | |
# | |
# GitHub action to build the ReadTheDocs environment with micromamba | |
# See: https://github.com/marketplace/actions/setup-micromamba | |
# | |
name: build-rtd-environment | |
on: | |
push: | |
branches: [ "main", "dev", "dependabot/*" ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ "main", "dev" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] | |
steps: | |
- name: Checkout the GCPy repository | |
uses: actions/checkout@v4 | |
- name: Create "rtd_env" environment | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
micromamba-version: 'latest' | |
environment-file: docs/environment_files/read_the_docs_environment.yml | |
init-shell: bash | |
cache-environment: false | |
generate-run-shell: true | |
post-cleanup: 'all' | |
- name: Get version numbers of packages | |
run: | | |
python --version | |
sphinx-autobuild --version | |
shell: micromamba-shell {0} |