Skip to content

Commit

Permalink
test empty script
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Jan 27, 2024
1 parent ef13ba4 commit d6f2907
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
3 changes: 1 addition & 2 deletions .github/actions/setup-postgres-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ runs:
shell: bash

- name: Configure the database
run: sudo -u postgres psql -f setup_test_database.sql
run: sudo -u postgres psql -f ./scripts/setup_test_database.sql
shell: bash
working-directory: ./scripts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# https://docs.github.com/en/actions/learn-github-actions/essential-features-of-github-actions
name: Empty Workflow
name: Example Job

on:
push:
Expand All @@ -10,15 +9,15 @@ on:

permissions: read-all

# https://docs.github.com/en/actions/learn-github-actions/essential-features-of-github-actions
jobs:
example-job:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./scripts
shell: bash
steps:
- name: Check out repository
- name: Check out the repository to the runner
uses: actions/checkout@v4
- name: Run script
run: ./empty_script.sh
- name: Run a script
run: ./my-script.sh
8 changes: 3 additions & 5 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,19 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Run empty script
run: ./.github/scripts/empty_script.sh
shell: bash

- name: Setup `hatch`
uses: dbt-labs/dbt-adapters/.github/actions/setup-hatch@config/release
with:
python-version: ${{ matrix.python-version }}

- name: Run empty script
run: bash ./.github/scripts/empty_script.sh

# - name: Setup postgres
# uses: ./.github/actions/setup-postgres-linux

- name: Run integration tests
run: hatch run integration-tests:all
shell: bash

- name: Publish results
uses: dbt-labs/dbt-adapters/.github/actions/publish-results@config/release
Expand Down
File renamed without changes.

0 comments on commit d6f2907

Please sign in to comment.