diff --git a/.github/workflows/benchmark_base.yml b/.github/workflows/benchmark_base.yml index 0cf2489f8..4e129d7d5 100644 --- a/.github/workflows/benchmark_base.yml +++ b/.github/workflows/benchmark_base.yml @@ -12,11 +12,33 @@ jobs: uses: actions/setup-python@v2 with: python-version: '3.9' + - uses: actions/cache@v2 + with: + path: .venv + key: poetry-${{ hashFiles('poetry.lock') }} + - name: Install Poetry + run: | + curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.6.1 python3 - + echo "export PATH=$HOME/.local/bin:$PATH" >> $GITHUB_ENV + - name: Verify Poetry installation + run: poetry --version + - name: Configure Poetry + run: | + poetry config virtualenvs.in-project true + poetry config installer.parallel false + - name: Debugging information + run: | + echo "Current directory: $(pwd)" + echo "Contents of current directory:" + ls -al + echo "Poetry environment info:" + poetry env info + - name: Install dependencies + run: | + poetry install -vv - uses: bencherdev/bencher@main - name: Track base branch benchmarks with Bencher run: | - sudo apt update - . scripts/ci_install_deps bencher run \ --project pyquil \ --token '${{ secrets.BENCHER_API_TOKEN }}' \