Bump UniProt version number to 2024.01 #68
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |