diff --git a/.azure/azure-benchmark-pipeline.yaml b/.azure/azure-benchmark-pipeline.yaml index 8bd7d08e..78c40bfd 100644 --- a/.azure/azure-benchmark-pipeline.yaml +++ b/.azure/azure-benchmark-pipeline.yaml @@ -19,13 +19,18 @@ jobs: - job: PrimAITE_Benchmark timeoutInMinutes: 360 # 6-hour maximum pool: - vmImage: ubuntu-latest + name: 'Imaginary Yak Pool' workspace: clean: all + steps: - checkout: self persistCredentials: true + - script: | + python3.10 -m venv venv + displayName: 'Create venv' + - script: | VERSION=$(cat src/primaite/VERSION | tr -d '\n') if [[ "$(Build.SourceBranch)" == "refs/heads/dev" ]]; then @@ -41,21 +46,18 @@ jobs: echo "##vso[task.setvariable variable=MAJOR_VERSION]$MAJOR_VERSION" displayName: 'Set Version Variables' - - task: UsePythonVersion@0 - inputs: - versionSpec: '3.11' - addToPath: true - - script: | - python -m pip install --upgrade pip + source venv/bin/activate + pip install --upgrade pip pip install -e .[dev,rl] primaite setup displayName: 'Install Dependencies' - script: | set -e + source venv/bin/activate cd benchmark - python3 primaite_benchmark.py + python primaite_benchmark.py cd .. displayName: 'Run Benchmarking Script' diff --git a/src/primaite/VERSION b/src/primaite/VERSION index fd2a0186..6d0e8e51 100644 --- a/src/primaite/VERSION +++ b/src/primaite/VERSION @@ -1 +1 @@ -3.1.0 +3.3.0-dev0