Skip to content

fix: use pipx to install poetry #18

fix: use pipx to install poetry

fix: use pipx to install poetry #18

Workflow file for this run

### A CI workflow template that runs linting and python testing
### TODO: Modify as needed or as desired.
name: Test tap-getresponse
on:
push:
jobs:
pytest:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
pipx install poetry
- name: Install dependencies
run: |
poetry install
- name: Test with pytest
env:
TAP_GETRESPONSE_AUTH_TOKEN: ${{ secrets.TAP_GETRESPONSE_AUTH_TOKEN }}
run: |
poetry run pytest