Skip to content

chore: pin GitHub Actions versions to commit hashes #179

chore: pin GitHub Actions versions to commit hashes

chore: pin GitHub Actions versions to commit hashes #179

Workflow file for this run

### A CI workflow that runs linting and python testing
name: Test tap-universal-file
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
env:
AWS_ACCESS_KEY_ID: NoSecretsNeeded
AWS_SECRET_ACCESS_KEY: NoSecretsNeeded
TAP_UNIVERSAL_FILE_PROTOCOL: file
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
env:
PIP_CONSTRAINT: .github/workflows/constraints.txt
run: |
python -m pip install --upgrade pip
pip install poetry
pip install setuptools
- name: Install dependencies
run: |
poetry install --extras=s3
- name: Test with pytest (no secrets needed)
run: | # Only run non-S3 tests, i.e. those that don't require repository secrets.
poetry run pytest -k 'not test_s3_execution'