Skip to content

Commit

Permalink
try quotes around command
Browse files Browse the repository at this point in the history
  • Loading branch information
MarquessV committed Jul 2, 2024
1 parent e929875 commit 90062e2
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/benchmark_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,16 @@ jobs:
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: |
. scripts/ci_install_deps
bencher run \
--project pyquil \
--token '${{ secrets.BENCHER_API_TOKEN }}' \
--branch master \
--testbed ci-runner-linux \
--err \
--file results.json \
poetry run pytest --benchmark-json results.json test/benchmarks
--adapter python_pytest \
"poetry run pytest --benchmark-json results.json test/benchmarks"

0 comments on commit 90062e2

Please sign in to comment.