Skip to content

Commit

Permalink
Merge branch 'main' into panel_4
Browse files Browse the repository at this point in the history
  • Loading branch information
Heather Craker committed Jul 18, 2022
2 parents 929b5f4 + e0f4a79 commit 9a61c05
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 3 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI Nightly
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * *' # Daily “At 01:00”

jobs:
build-and-run:
name: Build Sphinx Docs (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}

strategy:
fail-fast: false
matrix:
os: [ "ubuntu-latest", "macos-latest"]
python-version: [ "3.7", "3.8", "3.9", "3.10" ]

steps:
- uses: actions/checkout@v2
- name: Create conda environment
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
uses: mamba-org/provision-with-micromamba@main
with:
micromamba-version: "latest"
environment-name: geocat-examples
environment-file: conda_environment.yml
- name: Make html
shell: bash -l {0}
working-directory: ./docs
run: |
conda info
conda list
make html
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: CI
on:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # Daily “At 00:00”

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build-and-run:
Expand All @@ -16,8 +18,13 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-latest", "macos-latest"]
os: [ "ubuntu-latest"]
python-version: [ "3.7", "3.8", "3.9", "3.10" ]
include:
- os: "macos-latest"
python-version: "3.7"
- os: "macos-latest"
python-version: "3.10"

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 9a61c05

Please sign in to comment.