FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix MySQL and PostgreSQL GitHub Actions by aaronskiba · Pull Request #3375 · DMPRoadmap/roadmap · GitHub

Fix MySQL and PostgreSQL GitHub Actions - #3375

Closed
aaronskiba wants to merge 6 commits into
developmentfrom
aaron/issues/fix-rspec-tests
Closed

Fix MySQL and PostgreSQL GitHub Actions#3375
aaronskiba wants to merge 6 commits into
developmentfrom
aaron/issues/fix-rspec-tests

Conversation

aaronskiba commented Jan 31, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

Fixes #3347

Changes proposed in this PR:

  • Replace webdrivers gem with selenium-webdriver gem (https://github.com/titusfortner/webdrivers states "If you can update to the latest version of Selenium (4.11+), please do so and stop requiring this gem.")
  • Disable rack-attack from throttling "/users/sign_in" path on Rails test environment
  • Address Faker deprecation warning NOTE: Faker::Internet.safe_email is deprecated; use email instead. It will be removed on or after 2023-10. (More here: Generate safe email and domain_name by default (RFC 2606) faker-ruby/faker#2733)
  • Small changes to enable existing tests to pass (here: a5710ad)
  • Fix mysql.yml and postgres.yml workflows by removing duplicate node-version: statements

martaribeiro and others added 6 commits October 16, 2023 17:13
According to https://github.com/titusfortner/webdrivers:
"If you can update to the latest version of Selenium (4.11+), please do so and stop requiring this gem."
Without this modification, the selenium tests often trigger a 429 / Too Many Requests error. (Perhaps this should be applied to "/users/password" as well?)
Prior to this commit, the following deprecation warning was appearing in the terminal:
NOTE: Faker::Internet.safe_email is deprecated; use email instead. It will be removed on or after 2023-10.

More here: faker-ruby/faker#2733
Prior to this commit, the GitHub Actions associated with these files were failing with the message, "Invalid workflow file
The workflow is not valid. .github/workflows/mysql.yml (Line: X, Col: Y): 'node-version' is already defined"
aaronskiba marked this pull request as ready for review January 31, 2024 19:17
aaronskiba changed the title Test Fix MySQL and PostgreSQL GitHub Actions Jan 31, 2024

Copy link
Copy Markdown
Contributor

@aaronskiba looks good as it clearly gets rid of breaking Github actions. Not sure why Marta's commits included. Might be better to pull code from development again and add your changes.

aaronskiba closed this Feb 1, 2024

Copy link
Copy Markdown
Contributor Author

@aaronskiba looks good as it clearly gets rid of breaking Github actions. Not sure why Marta's commits included. Might be better to pull code from development again and add your changes.

Thanks. My bad, I branched off main. The PR can now be found here: #3376

aaronskiba deleted the aaron/issues/fix-rspec-tests branch February 1, 2024 17:26
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

There are two entries for node-version in the mysql and postgres workflows

3 participants


Back | FazBrowse Home | New Git URL