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 d6f2907 commit 0c8df35
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/example-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,38 @@ jobs:
uses: actions/checkout@v4
- name: Run a script
run: ./my-script.sh

example-job-bash-default:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./scripts
shell: bash
steps:
- name: Check out the repository to the runner
uses: actions/checkout@v4
- name: Run a script
run: ./my-script.sh

example-job-bash-in-step:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./scripts
steps:
- name: Check out the repository to the runner
uses: actions/checkout@v4
- name: Run a script
run: ./my-script.sh
shell: bash

example-job-bash-inline:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./scripts
steps:
- name: Check out the repository to the runner
uses: actions/checkout@v4
- name: Run a script
run: bash ./my-script.sh
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
python-version: ${{ matrix.python-version }}

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

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

0 comments on commit 0c8df35

Please sign in to comment.