From 321376c55f362a949dfb159faa9aa57bec5d5076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Grosjean?= Date: Wed, 18 Oct 2023 12:46:14 +0200 Subject: [PATCH] fix: tests --- .github/workflows/test.yml | 34 +++++++++++++++++----------------- tests/test_core.py | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8302099..4abe256 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,21 +16,21 @@ jobs: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + 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: | - pip 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 + - 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: | + pip 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 diff --git a/tests/test_core.py b/tests/test_core.py index 33a1399..dc1eecd 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -7,7 +7,7 @@ from tap_getresponse.tap import TapGetResponse SAMPLE_CONFIG = { - "auth_token": os.getenv("GETRESPONSE_AUTH_TOKEN"), + "auth_token": os.getenv("TAP_GETRESPONSE_AUTH_TOKEN"), }