Skip to content

Added integration tests for the crud functions on all three DB types #25

Added integration tests for the crud functions on all three DB types

Added integration tests for the crud functions on all three DB types #25

Workflow file for this run

name: Examples
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
todos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Todo (Sqlite)
run: cargo run --example todo
transactions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Start Postgres sandbox
run: docker compose up postgres -d
- name: Transactions (Postgres)
run: cargo run --example transactions
- name: Stop Postgres sandbox
run: docker compose down
pokemon:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Start MySql sandbox
run: docker compose up mysql -d
- name: Pokemon (MySql)
run: cargo run --example pokemon
- name: Stop MySql sandbox
run: docker compose down