Skip to content

Commit

Permalink
Not updating locale on main
Browse files Browse the repository at this point in the history
  • Loading branch information
cvvergara committed May 22, 2023
1 parent a6555ce commit 6c47f68
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
push:
paths:
- '.github/workflows/centos.yml'
- 'src/**'
- 'include/**'
- 'pgtap/**'
- 'tools/testers/**'
- './CMakeLists.txt'

branches-ignore:
- 'gh-pages'
Expand All @@ -29,11 +34,16 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: get postgres version
run: |
echo "PGVER=15" >> $GITHUB_ENV
echo "PGPORT=5432" >> $GITHUB_ENV
- name: Configure for gcc
run: |
mkdir build
cd build
export PATH=${PATH}:/usr/pgsql-15/bin
export PATH=${PATH}:/usr/pgsql-${PGVER}/bin
cmake3 -DCMAKE_BUILD_TYPE=Release -DBOOST_ROOT:PATH="/opt/boost" ..
- name: Build
Expand All @@ -48,6 +58,7 @@ jobs:
- name: Test
run: |
sudo systemctl restart postgresql-15
export PGPORT=5432
export PG_RUNNER_USER=`whoami`
sudo -u postgres psql -p ${PGPORT} -c "DROP DATABASE IF EXISTS ___pgr___test___;"
Expand All @@ -56,5 +67,5 @@ jobs:
sudo -u postgres psql -p ${PGPORT} -c "CREATE ROLE \"${PG_RUNNER_USER}\" WITH LOGIN SUPERUSER;"
sudo -u postgres psql -p ${PGPORT} -c "CREATE DATABASE \"${PG_RUNNER_USER}\";"
psql -c "CREATE DATABASE ___pgr___test___;"
bash ./tools/testers/pg_prove_tests.sh ${PG_RUNNER_USER} ${PGPORT} Release
./tools/testers/pg_prove_tests.sh ${PG_RUNNER_USER} ${PGPORT} Release
psql -c "DROP DATABASE IF EXISTS ___pgr___test___;"
8 changes: 2 additions & 6 deletions .github/workflows/update-locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ name: Update Locale
on:
workflow_dispatch:
push:
paths:
- '.github/workflows/update-locale.yml'
- 'doc/**'

branches-ignore:
- 'gh-pages'
branches:
- 'develop'

permissions:
contents: read
Expand Down

0 comments on commit 6c47f68

Please sign in to comment.