Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/run-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@ jobs:
dotnet build src/Regula.DocumentReader.NetCoreExamplePortraitComparison -c Release

- name: Run basic sample
env:
API_BASE_PATH: ${{ github.base_ref == 'develop' && 'https://nightly-api.regulaforensics.com' || github.base_ref == 'stable' && 'https://rc-api.regulaforensics.com' || github.base_ref == 'master' && 'https://api.regulaforensics.com' || 'https://nightly-api.regulaforensics.com' }}
run: ./Regula.DocumentReader.NetCoreExample
working-directory: src/Regula.DocumentReader.NetCoreExample/bin/Release/net8.0/

- name: Run Portrait comparison
env:
API_BASE_PATH: ${{ github.base_ref == 'develop' && 'https://nightly-api.regulaforensics.com' || github.base_ref == 'stable' && 'https://rc-api.regulaforensics.com' || github.base_ref == 'master' && 'https://api.regulaforensics.com' || 'https://nightly-api.regulaforensics.com' }}
run: ./Regula.DocumentReader.NetCoreExamplePortraitComparison
working-directory: src/Regula.DocumentReader.NetCoreExamplePortraitComparison/bin/Release/net8.0/
2 changes: 0 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@ dotnet build ./src/Regula.DocumentReader.NetCoreExample -c Release

cd ./src/Regula.DocumentReader.NetCoreExample || exit

export API_BASE_PATH="https://nightly-api.regulaforensics.com"

dotnet run
Loading