Skip to content

Commit

Permalink
Fix/workflow test (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrosjean authored Oct 18, 2023
1 parent b1d1780 commit 32b7737
Show file tree
Hide file tree
Showing 4 changed files with 241 additions and 238 deletions.
37 changes: 17 additions & 20 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ name: Test tap-getresponse

on:
push:
paths:
- tap_getresponse/**
- tests/

jobs:
pytest:
Expand All @@ -16,21 +13,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
Loading

0 comments on commit 32b7737

Please sign in to comment.