Skip to content

Release v2.0.2

Release v2.0.2 #5

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
offline-regression:
name: Offline regression
runs-on: windows-latest
steps:
- name: Checkout cds-text-sync
uses: actions/checkout@v6
- name: Checkout reference project
uses: actions/checkout@v6
with:
repository: ArthurkaX/cds-text-sync-reference-project
path: reference-project
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install test dependencies
shell: pwsh
run: python -m pip install -r requirements-dev.txt
- name: Run unit tests
shell: pwsh
run: python -m pytest tests\unit
- name: Compile Python sources
shell: pwsh
run: |
python -m compileall `
cds_bootstrap.py `
Project_build.py `
Project_compare.py `
Project_compare_ui.py `
Project_directory.py `
Project_discover.py `
Project_export.py `
Project_import.py `
Project_options.py `
Project_resources.py `
src
- name: Run local regression suite
shell: pwsh
run: python src\regression_suite.py
- name: Compare reference project
shell: pwsh
run: |
python src\external_engine\engine_cli.py compare `
--project-root reference-project `
--snapshot reference-project\.dump\IDE.xml `
--report reference-project\.dump\ci_compare_report.json
- name: Validate reference project
shell: pwsh
run: |
python src\external_engine\engine_cli.py validate `
--project-root reference-project `
--snapshot reference-project\.dump\IDE.xml