Centralize open/closing of DB #165
Workflow file for this run
This file contains hidden or 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: Unit Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| unit: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: [3.2, 3.3, 3.4] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install system deps | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install imagemagick libmagickwand-dev | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| - name: Install dependencies | |
| run: bundle install | |
| - name: Run RSpec tests | |
| run: ./scripts/run_specs.sh |