Commit Graph

13 Commits

Author SHA1 Message Date
Peter Bhat Harkins b45d175083 add brakeman
Wrote ignore notes and specs for the security assumptions implied.
Removed TZ from moderations table; everything is Chicago time, best time.
2023-12-17 20:22:47 -06:00
Peter Bhat Harkins d8ea92a140 set up db the reasonable way 2023-12-06 09:21:51 -06:00
Peter Bhat Harkins 1f4547d2b9 automate a bit with bin/setup 2023-12-06 08:50:04 -06:00
Peter Bhat Harkins 8078e5d576 run migrations before tests 2023-11-15 09:16:46 -06:00
Peter Bhat Harkins c3f8625788 standardrb
I can't take Rubocop any more. Moving up to Ruby 3 forces us to update RuboCop,
and it comes with dozens of linters that I'd have to evaluate, none of which is
a marginal improvement. I'm done having opinions.
2023-09-08 15:39:50 -05:00
Peter Bhat Harkins 1fe99840f4 fix build running twice on PRs? 2023-08-31 21:44:00 -05:00
Peter Bhat Harkins 0f6b3e1c6a mark github action as a test suite, match prod db 2023-08-31 21:41:08 -05:00
Peter Bhat Harkins 344e947374 Fix fake_data task; add CI test for it (#1087)
The test is overdue for how brittle fake_data.rb is, but as that's a slow
process that's not critical functionality, I only want it running on CI.
2022-06-01 05:57:18 -05:00
Jeppe Fihl-Pearson 8e1493c36e Use MariaDB instead of MySQL when running tests in GitHub Actions
This starts a Docker container running MariaDB instead of using the MySQL
database that GitHub Actions comes with. This means we can configure which
specific version of MariaDB to run.

I opted for MariaDB 10.5 as that was my best guess as to what version was
running in the deployed setup, based on it being the version available for the
"mariadb-server" package in Debian stable.

The Docker container is configured to create the "lobsters_dev" database
automatically, so it shouldn't be necessary to run a command to explicitly
create the database anymore.

Fixes #1050.
2022-04-03 17:32:14 +00:00
Scott Robinson dd3b652e50 Github Actions 🤖 2022-01-21 22:34:27 -06:00
Peter Bhat Harkins 4ae8d396c6 update issue/pr templates 2020-02-05 09:26:46 -06:00
Peter Bhat Harkins 6c7f6677ba housekeeping
If you don't want color in rspec output, you can add it to your ~/.rspec.
2018-04-19 05:37:18 -05:00
joshua stein d869f98fcf add issue template for github 2017-08-31 09:01:56 -05:00