Skip to content

Commit

Permalink
remove formatting diffs for a more readable PR
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Oct 9, 2024
1 parent 1b4b7ea commit e9e6b63
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ jobs:
python-version: '3.11'
- uses: pre-commit/[email protected]

unit_test:
name: 'Unit tests with coverage'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: "Setup `hatch`"
uses: dbt-labs/dbt-adapters/.github/actions/setup-hatch@main
with:
python-version: ${{ matrix.python-version }}
- name: Test with pytest
run: hatch run unit-tests
working-directory: ./dbt-athena
unit_test:
name: 'Unit tests with coverage'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: "Setup `hatch`"
uses: dbt-labs/dbt-adapters/.github/actions/setup-hatch@main
with:
python-version: ${{ matrix.python-version }}
- name: Test with pytest
run: hatch run unit-tests
working-directory: ./dbt-athena
4 changes: 3 additions & 1 deletion .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
with:
# this allows to pick the branch from the PR
checkout-ref: ${{ github.event.pull_request.head.ref }}
# this allows to work on fork
checkout-repository: ${{ github.event.pull_request.head.repo.full_name }}

# workflow that is invoked when a push to main happens
functional-tests-main:
Expand All @@ -43,4 +45,4 @@ jobs:
contents: read
with:
checkout-ref: ${{ github.ref }}
checkout-repository: ${{ github.event.pull_request.head.repo.full_name }}
checkout-repository: ${{ github.repository }}
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ repos:
rev: 6.0.0
hooks:
- id: flake8
exclude: tests/
args:
- --max-line-length=120
- --select=E,F,W
Expand Down

0 comments on commit e9e6b63

Please sign in to comment.