25 lines
797 B
YAML
25 lines
797 B
YAML
name: Portfolio checks
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
jobs:
|
|
checks:
|
|
runs-on: docker
|
|
container:
|
|
image: voice-dictation-ci:py313-node20-20261019
|
|
timeout-minutes: 10
|
|
steps:
|
|
- name: Check out the exact public commit
|
|
# This repository is public: no token or external checkout action is needed.
|
|
run: |
|
|
git init
|
|
git remote add origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git"
|
|
git fetch --no-tags --depth=1 origin "$GITHUB_SHA"
|
|
git checkout --detach FETCH_HEAD
|
|
- name: Check local Markdown links
|
|
run: python3 scripts/check_links.py
|
|
- name: Test offline demonstration
|
|
run: |
|
|
cd projects/bitrix-ai-workflow-demo
|
|
python3 -m unittest discover -s tests -v
|