Skip to content

Commit

Permalink
Merge pull request #32 from sebastianswms/github-actions-refactor
Browse files Browse the repository at this point in the history
feat: GitHub actions refactor
  • Loading branch information
visch committed Jul 13, 2023
2 parents b95f3e3 + ad05b33 commit 6634332
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_ACCESS_KEY_ID: AKIAZPOBIXUJJ434XT5T
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
TAP_UNIVERSAL_FILE_FILEPATH: ${{ vars.TAP_UNIVERSAL_FILE_FILEPATH }}
TAP_UNIVERSAL_FILE_FILE_REGEX: ${{ vars.TAP_UNIVERSAL_FILE_FILE_REGEX }}
TAP_UNIVERSAL_FILE_PROTOCOL: ${{ vars.TAP_UNIVERSAL_FILE_PROTOCOL }}
TAP_UNIVERSAL_FILE_FILEPATH: derek-tap-filetesting/2023
TAP_UNIVERSAL_FILE_FILE_REGEX: ^airtravel\.csv$
TAP_UNIVERSAL_FILE_PROTOCOL: s3
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
6 changes: 5 additions & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,11 @@ def test_avro_execution():


def test_s3_execution():
s3_config = {"protocol": "s3", "filepath": "tap-file-taptesting/grocery"}
s3_config = {
"protocol": "s3",
"filepath": "derek-tap-filetesting/2023",
"file_regex": "airtravel\\.csv$",
}
execute_tap(s3_config)


Expand Down

0 comments on commit 6634332

Please sign in to comment.