Skip to content

parse taxon ids as int #79

parse taxon ids as int

parse taxon ids as int #79

Workflow file for this run

name: Test
on: [push]
jobs:
test:
env:
RAILS_ENV: "test"
TEST_DATABASE_URL: "mysql2://root:[email protected]:3306/unipept_test"
runs-on: ubuntu-latest
services:
mysql:
image: mariadb:10.9
env:
MYSQL_DATABASE: "unipept_test"
MYSQL_ROOT_PASSWORD: "unipept"
MYSQL_HOST: "localhost"
ports:
- 3306:3306
options: --health-cmd "mysqladmin ping -h localhost" --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v3
- name: Use ruby from .ruby-version
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run tests
run: |
bundle exec rails db:test:prepare
bundle exec rails test