Skip to content

Commit

Permalink
try manually setting up poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
MarquessV committed Jul 2, 2024
1 parent 41983a9 commit e929875
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/benchmark_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}' \
Expand Down

0 comments on commit e929875

Please sign in to comment.