Repository navigation
build(deps): bump net-imap from 0.6.7 to 0.6.8 #618
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: "ruby: test" | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| ruby-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: "Install ImageMagick" | |
| run: | | |
| sudo apt-get install --no-install-recommends -y imagemagick | |
| - name: Setup chromedriver | |
| uses: nanasess/setup-chromedriver@v3.0.0 | |
| - name: "Install the Ruby version in .ruby-version" | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - name: Use node 24 | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version-file: package.json | |
| cache: npm | |
| - name: "Initialize a test database" | |
| env: | |
| RAILS_ENV: test | |
| run: | | |
| bundle exec rake db:create | |
| bundle exec rake db:schema:load | |
| - name: Install dependencies | |
| run: | | |
| bundle install | |
| npm ci | |
| - name: Compile assets | |
| run: npm run build:js | |
| - name: "Run rake" | |
| env: | |
| RAILS_ENV: test | |
| COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }} | |
| run: | | |
| bundle exec rake | |
| - name: Upload screenshot artifacts | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: screenshots | |
| path: tmp/capybara |