diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a3eb905a..ad6ffd9a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -145,6 +145,9 @@ jobs: - name: Checkout Code Repository uses: actions/checkout@v3 + - name: Install poetry + run: pipx install poetry + - name: Set up Python uses: actions/setup-python@v4 with: @@ -177,7 +180,7 @@ jobs: run: | # Note that you have to activate the virtualenv in every step # because GitHub actions doesn't preserve the environment - source ~/venv/bin/activate + source $POETRY_HOME/bin/activate # Run tests invoke test @@ -196,6 +199,9 @@ jobs: - name: Checkout Code Repository uses: actions/checkout@v3 + - name: Install poetry + run: pipx install poetry + - name: Set up Python uses: actions/setup-python@v4 with: