Cache and serve maps on/from local disk. #160
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, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Firefox | |
uses: browser-actions/[email protected] | |
with: | |
firefox-version: "134.0.1" | |
- name: Download geckodriver | |
uses: browser-actions/setup-geckodriver@latest | |
with: | |
geckodriver-version: "0.32.0" | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.3.5" | |
bundler-cache: true | |
- name: Start MongoDB | |
uses: supercharge/[email protected] | |
with: | |
mongodb-version: "7" | |
mongodb-db: slack_strava_test | |
- name: Run tests | |
uses: GabrielBB/xvfb-action@v1 | |
with: | |
run: bundle exec rake spec |