Skip to content

Commit

Permalink
Fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
quambene committed Apr 3, 2024
1 parent 167b314 commit 2428836
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,26 +51,34 @@ jobs:
- name: cargo test --lib
run: cargo test --lib --locked
integration-test:
env:
DB_HOST: 127.0.0.1
DB_PORT: 5432
DB_USER: pigeon
DB_PASSWORD: pigeon-pw
DB_NAME: pigeon-db
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Start container
run: docker compose up -d
- name: cargo test --test '*'
run: cargo test --test '*' --locked
- name: Stop container
run: docker compose down -v
os-test:
runs-on: ${{ matrix.os }}
name: os-test / ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest]
os: [macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: cargo test --lib
run: cargo test --lib --locked
- name: cargo test --test '*'
run: cargo test --test '*' --locked
doc-test:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
version: '3'
services:
postgres:
env_file:
- .env
volumes:
- ./test_data:/docker-entrypoint-initdb.d
image: postgres:16-alpine
Expand Down

0 comments on commit 2428836

Please sign in to comment.