Skip to content

Commit

Permalink
Merge branch 'main' into screencast
Browse files Browse the repository at this point in the history
  • Loading branch information
singhprd authored Jan 3, 2025
2 parents e0d509b + e4e275d commit 266d7f3
Show file tree
Hide file tree
Showing 83 changed files with 3,371 additions and 1,140 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: rubycdp
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: route

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior, a failing test or a debug log.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [Linux | macOS | Windows]
- Browser [Chrome Version 121.0.6167.160 (Official Build) (arm64)]
- Version [v x.y]

**Additional context**
Add any other context about the problem here.
7 changes: 0 additions & 7 deletions .github/gemfiles/websocket-driver-0.6.x.gemfile

This file was deleted.

7 changes: 0 additions & 7 deletions .github/gemfiles/websocket-driver-0.7.x.gemfile

This file was deleted.

9 changes: 7 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Linter
on: [push]
on:
push:
branches:
- main
pull_request:

jobs:
linters:
Expand All @@ -11,13 +15,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Run linters
run: |
bundle exec rubocop --parallel
23 changes: 13 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@ jobs:
strategy:
fail-fast: false
matrix:
gemfile: [websocket-driver-0.6.x, websocket-driver-0.7.x]
ruby: [2.6, 2.7, "3.0", 3.1, 3.2]
ruby: [2.7, "3.0", 3.1, 3.2, 3.3]
runs-on: ubuntu-latest
env:
FERRUM_PROCESS_TIMEOUT: 20
FERRUM_DEFAULT_TIMEOUT: 10
BUNDLE_GEMFILE: .github/gemfiles/${{ matrix.gemfile }}.gemfile
FERRUM_PROCESS_TIMEOUT: 25
FERRUM_DEFAULT_TIMEOUT: 15
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
Expand All @@ -33,14 +31,19 @@ jobs:
with:
chrome-version: stable

- run: mkdir -p /tmp/ferrum
- name: Fix GA Chrome Permissions
run: |
sudo chown root:root /opt/hostedtoolcache/setup-chrome/chromium/stable/x64/chrome-sandbox
sudo chmod 4755 /opt/hostedtoolcache/setup-chrome/chromium/stable/x64/chrome-sandbox
- name: Run tests
run: bundle exec rake
run: |
mkdir -p /tmp/ferrum
bundle exec rake
- name: Archive artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: footprints
name: artifacts-ruby-v${{ matrix.ruby }}
path: /tmp/ferrum/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Gemfile.*
doc
pkg
tmp
.idea
.ruby-version
.yardoc
3 changes: 1 addition & 2 deletions .rspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
--color
--fail-fast
--format=doc
--format=progress
--require spec_helper
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 2.6
TargetRubyVersion: 2.7
NewCops: enable
SuggestExtensions: false

Expand Down
Loading

0 comments on commit 266d7f3

Please sign in to comment.