Skip to content

Skip running trivy #1167

Skip running trivy

Skip running trivy #1167

Workflow file for this run

name: CI
on: [workflow_dispatch, pull_request, push]
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
jobs:
mypy_static_analysis:
runs-on: ubuntu-latest
steps:
- uses: airtai/workflows/airt-mypy-check@main
bandit_static_analysis:
runs-on: ubuntu-latest
steps:
- uses: airtai/workflows/airt-bandit-check@main
semgrep_static_analysis:
runs-on: ubuntu-latest
steps:
- uses: airtai/workflows/airt-semgrep-check@main
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos]
version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ${{ matrix.os }}-latest
steps:
- name: Install quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Install playwright
run: |
pip3 install playwright
playwright install chromium
- uses: fastai/workflows/nbdev-ci@master
with:
version: ${{ matrix.version }}
- name: test build docs
run: |
test -f setup.py && pip install -e ".[dev]"
nbdev_mkdocs docs
if [ -f "mkdocs/site/index.html" ]; then
echo "docs built successfully."
else
echo "index page not found in rendered docs."
ls -la
ls -la mkdocs/site/
exit 1
fi