Skip to content

Bump selenium-webdriver from 4.9.0 to 4.17.0 #892

Bump selenium-webdriver from 4.9.0 to 4.17.0

Bump selenium-webdriver from 4.9.0 to 4.17.0 #892

Workflow file for this run

---
name: Rspec
on:
push:
branches: [ mainline ]
pull_request:
branches: [ mainline ]
jobs:
rspec:
runs-on: ubuntu-latest
env:
ALERTS: "b@example.com"
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
GOOGLE_MAPS_API_KEY: secret
MAILCHIMP_API_KEY: secret
RAILS_ENV: test
S3_ACCESS_KEY: secret
S3_BUCKET_NAME: secret
S3_SECRET_KEY: secret
SECRET_KEY_BASE: secret
SERVER_S3_ACCESS_KEY: secret
SERVER_S3_SECRET_KEY: secret
steps:
- name: Launch MongoDB
uses: supercharge/mongodb-github-action@v1.10.0
with:
mongodb-version: 4.2
- name: Configure sysctl limits
run: |
sudo swapoff -a
sudo sysctl -w vm.swappiness=1
sudo sysctl -w fs.file-max=262144
sudo sysctl -w vm.max_map_count=262144
- name: Runs Elasticsearch
uses: elastic/elastic-github-actions/elasticsearch@master
with:
stack-version: 7.8.0
security-enabled: false
- name: Checkout this repo
uses: actions/checkout@v4
- name: Install code climate
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
- name: Install Ruby (version given by .ruby-version) and Bundler
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Set up config/app_environment_variables.rb
run: cp config/app_environment_variables.example.rb config/app_environment_variables.rb
- name: Run rspec
run: bundle exec rspec spec -fd
- name: Coveralls GitHub Action
continue-on-error: true
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Report to code climate
continue-on-error: true
if: ${{ github.triggering_actor != 'dependabot[bot]' }}
run: ./cc-test-reporter after-build -t simplecov --id $CC_TEST_REPORTER_ID