Skip to content

Commit

Permalink
ci: install libpq-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Feb 25, 2025
1 parent cd29e1a commit eda6e97
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
with:
toolchain: ${{ matrix.version }}

- name: Install system packages
run: |
sudo apt-get update
sudo apt-get -y install sqlite3
sudo apt-get -y install libpq-dev
- name: Install DB CLI tools
run: |
cargo install --force sqlx-cli --no-default-features --features=sqlite,rustls
Expand All @@ -30,7 +36,6 @@ jobs:
env:
DATABASE_URL: sqlite://./todo.db
run: |
sudo apt-get update && sudo apt-get install sqlite3
sqlx database create
chmod a+rwx ./todo.db
sqlx migrate run --source=./basics/todo/migrations
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
with:
toolchain: ${{ matrix.version }}

- name: Install system packages
run: |
sudo apt-get update
sudo apt-get -y install sqlite3
sudo apt-get -y install libpq-dev
- name: Install DB CLI tools
run: |
cargo install --force sqlx-cli --no-default-features --features=sqlite,rustls
Expand All @@ -35,7 +41,6 @@ jobs:
env:
DATABASE_URL: sqlite://./todo.db
run: |
sudo apt-get update && sudo apt-get install sqlite3
sqlx database create
chmod a+rwx ./todo.db
sqlx migrate run --source=./basics/todo/migrations
Expand Down

0 comments on commit eda6e97

Please sign in to comment.