install psql
Some checks failed
ci / build (push) Has been cancelled
ci / Tests & Checks (push) Failing after 1m20s

This commit is contained in:
CJ_Clippy 2025-02-12 22:57:43 -08:00
parent 1a493c7457
commit 332716faf0

View File

@ -75,12 +75,16 @@ jobs:
WHITELIST_FEED_URL: https://bright.futureporn.net/torrents
steps:
# - name: wait for postgres
# run: sleep 60
- name: Check postgres reachability
run: apt update && apt install -y iputils-ping && ping -c 200 db
- name: Install apt packages
run: apt-get update && apt-get install -y iputils-ping psql
- name: Check postgres pingability
run: ping -c 3 db
- name: postgres service check
run: PGPASSWORD=${{ secrets.DB_PASS }} psql -u ${{ secrets.DB_USER }} -D ${{ secrets.DB_NAME }} -h ${{ secrets.DB_HOST }} "SELECT * FROM vods;"
run: psql -u ${{ secrets.DB_USER }} -D ${{ secrets.DB_NAME }} -h ${{ secrets.DB_HOST }} "SELECT * FROM vods;"
env:
PGPASSWORD: ${{ secrets.DB_PASS }}
- name: Setup FFmpeg
uses: FedericoCarboni/setup-ffmpeg@v3