Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: pre-visualizing commits on CircleCI #17

Open
wants to merge 3 commits into
base: mkdocs
Choose a base branch
from
Open
Changes from all commits
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
31 changes: 31 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: 2.1
jobs:
build:
docker:
- image: python:3.10
steps:
- checkout
- run:
name: Install system dependencies
command: |
apt-get update && apt-get install -y libcairo2-dev libpango1.0-dev libgdk-pixbuf2.0-dev
- run:
name: Create virtual environment
command: python -m venv myenv
- run:
name: Activate virtual environment
command: source myenv/bin/activate
- run:
name: Install requirements
command: python -m pip install -r requirements.txt
- run:
name: Build preview
command: python -m mkdocs build --site-dir _SOPs_preview
- store_artifacts:
path: _SOPs_preview
workflows:
version: 2
commit:
jobs:
- build