Skip to content

Commit

Permalink
Remove redundant working dir config
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov committed Apr 9, 2024
1 parent c10dd33 commit 3d1ade8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/postgresql-12-pgdg-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ jobs:
steps:
- name: Clone pg_stat_monitor repository
uses: actions/checkout@v2
with:
path: 'src/pg_stat_monitor'

- name: Delete old postgresql files
run: |
Expand Down Expand Up @@ -44,7 +42,6 @@ jobs:
run: |
sudo -u postgres bash -c 'make USE_PGXS=1'
sudo make USE_PGXS=1 install
working-directory: src/pg_stat_monitor
- name: Start pg_stat_monitor_tests
run: |
Expand All @@ -56,15 +53,13 @@ jobs:
export PG_TEST_PORT_DIR=${GITHUB_WORKSPACE}/src/pg_stat_monitor
echo $PG_TEST_PORT_DIR
sudo -E -u postgres bash -c 'make installcheck USE_PGXS=1'
working-directory: src/pg_stat_monitor
- name: Change dir permissions on fail
if: ${{ failure() }}
run: |
sudo chmod -R ugo+rwx t
sudo chmod -R ugo+rwx tmp_check
exit 2 # regenerate error so that we can upload files in next step
working-directory: src/pg_stat_monitor
- name: Upload logs on fail
if: ${{ failure() }}
Expand Down

0 comments on commit 3d1ade8

Please sign in to comment.