diff --git a/.github/actions/setup-postgres-linux/action.yml b/.github/actions/setup-postgres-linux/action.yml index 9e49c4ae..74cb7aa7 100644 --- a/.github/actions/setup-postgres-linux/action.yml +++ b/.github/actions/setup-postgres-linux/action.yml @@ -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 diff --git a/.github/workflows/empty-script.yml b/.github/workflows/example-job.yml similarity index 72% rename from .github/workflows/empty-script.yml rename to .github/workflows/example-job.yml index 47efd350..73163ba9 100644 --- a/.github/workflows/empty-script.yml +++ b/.github/workflows/example-job.yml @@ -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: @@ -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 diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index e9d3e443..935ade7a 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -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 diff --git a/scripts/empty_script.sh b/scripts/my-script.sh similarity index 100% rename from scripts/empty_script.sh rename to scripts/my-script.sh