Skip to content

Commit 4237ea3

Browse files
Shivampal157xmnlab
authored andcommitted
ci: activate conda in Linter and Build steps, set -e in pre-build
Made-with: Cursor
1 parent f512261 commit 4237ea3

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/main.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,13 @@ jobs:
5656
- name: Linter
5757
if: ${{ github.event_name == 'pull_request' }}
5858
run: |
59+
conda activate osl-web
5960
pre-commit install
6061
pre-commit run --all-files --verbose
6162
6263
- name: Build the book
6364
run: |
65+
conda activate osl-web
6466
makim pages.build
6567
echo "opensciencelabs.org" > build/CNAME
6668

.makim.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ groups:
55
help: pre-build step
66
backend: bash
77
run: |
8+
set -e
89
mkdir -p build
910
# Directory to search for blog sources
1011
export SEARCH_DIR="pages/blog"

0 commit comments

Comments
 (0)