Skip to content

ci: bump actions/add-to-project from 0.6.0 to 0.6.1 (#1) #7

ci: bump actions/add-to-project from 0.6.0 to 0.6.1 (#1)

ci: bump actions/add-to-project from 0.6.0 to 0.6.1 (#1) #7

Workflow file for this run

name: Test tap-gohighlevel
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
runs-on: ubuntu-latest
env:
FORCE_COLOR: "1"
NOXSESSION: tests-${{ matrix.python-version }}
PIP_CONSTRAINT: .github/workflows/constraints.txt
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: |
pip install pip
pip --version
- name: Install Poetry
run: |
pipx install poetry
pipx inject poetry poetry-dynamic-versioning[plugin]
poetry --version
poetry self show plugins
- name: Install dependencies
run: |
poetry env use ${{ matrix.python-version }}
poetry install
- name: Run tests
env:
TAP_GOHIGHLEVEL_CLIENT_ID: ${{ secrets.TAP_GOHIGHLEVEL_CLIENT_ID }}
TAP_GOHIGHLEVEL_CLIENT_SECRET: ${{ secrets.TAP_GOHIGHLEVEL_CLIENT_SECRET }}
TAP_GOHIGHLEVEL_REFRESH_TOKEN: ${{ secrets.TAP_GOHIGHLEVEL_REFRESH_TOKEN }}
TAP_GOHIGHLEVEL_LOCATION_ID: ${{ secrets.TAP_GOHIGHLEVEL_LOCATION_ID }}
run: |
poetry run pytest