Skip to content

Fixed documentation CI #137

Fixed documentation CI

Fixed documentation CI #137

Workflow file for this run

# ===============================
# Continuous Integration Pipeline
# ===============================
name: Continuous Integration
on:
push:
branches: [ 'main', 'develop']
jobs:
# --------------------------------
# Lint the Codebase
# --------------------------------
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Format
uses: psf/black@stable
# --------------------------------
# Test : Unit tests
# --------------------------------
test:
name: Test - Run unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name : Test
uses: devcontainers/[email protected]
with:
push: never
runCmd: |
make get-informations
make install-dependencies-test
make test
# --------------------------------
# Test : Run notebooks
# --------------------------------
run_notebooks:
name: Test - Run notebooks
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name : Run notebooks
uses: devcontainers/[email protected]
with:
push: never
runCmd: |
make get-informations
make install-dependencies-test
make run-notebooks
# --------------------------------
# Build : Build the Package
# --------------------------------
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependency manager
uses: snok/install-poetry@v1
- name: Install dependencies
run: make install-dependencies
- name: Build package
run: make build