Skip to content

Remove one test

Remove one test #36

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
services:
mariadb:
image: mariadb
env:
MYSQL_USER: user
MYSQL_PASSWORD: password
MYSQL_DATABASE: test
MYSQL_ROOT_PASSWORD: password
ports:
- 3306:3306
postgres:
image: postgres
env:
POSTGRES_DB: test
POSTGRES_USER: user
POSTGRES_PASSWORD: password
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
# - name: Create database for mariadb
# run: mysql -h127.0.0.1 -P3306 -uroot -ppassword -e "CREATE database test;"
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
env:
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
MARIADB_HOST: mariadb
MARIADB_PORT: 3306