Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and Test
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: mamba-org/setup-micromamba@v2.0.3
with:
environment-file: ./environment-dev.yml
init-shell: bash
create-args: --verbose
cache-environment: true
cache-downloads: false

- name: Test Ultraplot
shell: bash -el {0}
run: |
micromamba activate ultraplot-dev
pip install .

- name: "Build docs"
shell: bash -el {0}
run: |
micromamba activate ultraplot-dev
cd docs
make html
7 changes: 0 additions & 7 deletions .github/workflows/build-ultraplot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,3 @@ jobs:
micromamba activate ultraplot-dev
pip install .
python -m pytest

- name: "Build docs"
shell: bash -el {0}
run: |
micromamba activate ultraplot-dev
cd docs
make html
Loading