Raise error when attempting to render, but rendering was disabled #473
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
permissions: | |
contents: read | |
jobs: | |
tests: | |
runs-on: ubuntu-20.04 | |
services: | |
postgres: | |
image: postgres:11.5 | |
ports: ["5432:5432"] | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
mysql: | |
image: mysql:latest | |
env: | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_DATABASE: rodauth_test | |
ports: ["3306:3306"] | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: [ "1.9.3", "2.0.0", 2.1, 2.3, 2.4, 2.5, 2.6, 2.7, "3.0", 3.1, 3.2, 3.3, jruby-9.1, jruby-9.2, jruby-9.3, jruby-9.4 ] | |
name: ${{ matrix.ruby }} | |
env: | |
BUNDLE_GEMFILE: .ci.gemfile | |
steps: | |
- uses: actions/checkout@v4 | |
- run: sudo apt-get -yqq install libpq-dev | |
- run: sudo apt-get -yqq install libmysqlclient-dev | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- run: bundle exec rake spec_ci | |
env: | |
DEFAULT_DATABASE: 1 | |
MYSQL_ROOT_PASSWORD: 1 |