Skip to content

update: README.md

update: README.md #98

Workflow file for this run

name: SentraCore CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
engine-ci:
name: Python Engine CI
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest ruff
- name: Lint with Ruff
run: |
# Stop the build if there are Python syntax errors or undefined names
ruff check engine/ tests/ --select=E9,F63,F7,F82
- name: Run Unit Tests
run: |
python -m pytest tests/ -v
dashboard-ci:
name: Flutter Dashboard CI
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
architecture: x64
- name: Enable Windows Desktop support
run: flutter config --enable-windows-desktop
- name: Install dependencies
working-directory: ./dashboard
run: flutter pub get
- name: Analyze Dart Code
working-directory: ./dashboard
run: flutter analyze
- name: Run Flutter Tests
working-directory: ./dashboard
run: flutter test