Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,40 @@ jobs:
chmod +x ./run-tests.sh
./run-tests.sh postgresql

rust-backend-tests:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:latest
env:
POSTGRES_USER: test_user
POSTGRES_PASSWORD: test_password
POSTGRES_DB: test_db
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5

steps:
- uses: actions/checkout@v4

- uses: hecrj/setup-rust-action@v2
with:
rust-version: 1.95

- name: Run episode pagination/sort/filter regression tests
working-directory: ./rust-api
env:
DB_HOST: localhost
DB_PORT: 5432
DB_USER: test_user
DB_PASSWORD: test_password
DB_NAME: test_db
run: cargo test episode_pagination -- --ignored --test-threads=1

frontend-tests:
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ clients/mac-app/pinepods.spec
# Web Removals
web/target/*
web/.idea/*

# Rust build artifacts
rust-api/target/*
keystore.properties
key.properties
**/key.properties
Expand Down
Loading