Skip to content

Commit 9c75035

Browse files
committed
separate build and test
1 parent 35204ef commit 9c75035

File tree

2 files changed

+33
-7
lines changed

2 files changed

+33
-7
lines changed

.github/workflows/build-docs.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build and Test
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
branches: [main]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 15
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: mamba-org/[email protected]
15+
with:
16+
environment-file: ./environment-dev.yml
17+
init-shell: bash
18+
create-args: --verbose
19+
cache-environment: true
20+
cache-downloads: false
21+
22+
- name: Test Ultraplot
23+
shell: bash -el {0}
24+
run: |
25+
micromamba activate ultraplot-dev
26+
pip install .
27+
28+
- name: "Build docs"
29+
shell: bash -el {0}
30+
run: |
31+
micromamba activate ultraplot-dev
32+
cd docs
33+
make html

.github/workflows/build-ultraplot.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,3 @@ jobs:
2525
micromamba activate ultraplot-dev
2626
pip install .
2727
python -m pytest
28-
29-
- name: "Build docs"
30-
shell: bash -el {0}
31-
run: |
32-
micromamba activate ultraplot-dev
33-
cd docs
34-
make html

0 commit comments

Comments
 (0)