Skip to content

Update readme

Update readme #26

Workflow file for this run

name: FileRevisor
on: push
jobs:
build:
runs-on: windows-2025-vs2026
strategy:
matrix:
cmake_build_type: [Debug, RelWithDebInfo]
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: ilammy/msvc-dev-cmd@v1
- uses: actions/setup-python@v6
with:
python-version: '3.13'
- uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('FileRevisorDevOpsPython/dev-requirements.txt') }}
- name: Install pip packages
run: pip install --upgrade --upgrade-strategy eager -r FileRevisorDevOpsPython/dev-requirements.txt
- name: Mypy, Flake8, Pylint, then run unit tests with coverage and pytest if Release
working-directory: FileRevisorDevOpsPython
run: python FileRevisorDevOpsPython/MypyFlake8PylintThenRunTestsWithCoverage.py --run-tests-with-coverage-python-file=FileRevisorDevOpsPythonTests/RunAllWithCoverage.py
env:
PYTHONPATH: .
if: ${{ matrix.cmake_build_type == 'Release' }}
- name: Run BuildAndInstallCPlusPlusProgram.py
run: |
curl https://raw.githubusercontent.com/NeilJustice/ZenUnitAndMetalMock/main/ZenUnitAndMetalMock/ZenUnit.h --create-dirs -o "ZenUnitAndMetalMock/ZenUnit.h"
curl https://raw.githubusercontent.com/NeilJustice/ZenUnitAndMetalMock/main/ZenUnitAndMetalMock/MetalMock.h --create-dirs -o "ZenUnitAndMetalMock/MetalMock.h"
python FileRevisorDevOpsPython/FileRevisorDevOpsPython/BuildAndInstallCPlusPlusProgram.py `
--solution-name=FileRevisor `
--cmake-build-type="${{ matrix.cmake_build_type }}" `
--cmake-definitions="" `
--tests-project-name=libFileRevisorTests `
--no-install
env:
PYTHONPATH: FileRevisorDevOpsPython