Skip to content

Commit a604053

Browse files
authored
Merge pull request #29 from blocknotes/test/improve-test-suite
test: update test suite configuration
2 parents b13f477 + 9f1d0e5 commit a604053

25 files changed

Lines changed: 47 additions & 138 deletions

.github/workflows/linters.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Linters
33

44
on:
55
pull_request:
6-
branches: [master]
6+
branches: [main]
77
push:
8-
branches: [master]
8+
branches: [main]
99

1010
jobs:
1111
reviewdog:

.github/workflows/specs_mysql_60.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Specs Rails 6.0 MySQL
33

44
on:
55
pull_request:
6-
branches: [master]
6+
branches: [main]
77
push:
8-
branches: [master]
8+
branches: [main]
99

1010
jobs:
1111
tests:

.github/workflows/specs_mysql_61.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Specs Rails 6.1 MySQL
33

44
on:
55
pull_request:
6-
branches: [master]
6+
branches: [main]
77
push:
8-
branches: [master]
8+
branches: [main]
99

1010
jobs:
1111
tests:

.github/workflows/specs_mysql_70.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Specs Rails 7.0 MySQL
33

44
on:
55
pull_request:
6-
branches: [master]
6+
branches: [main]
77
push:
8-
branches: [master]
8+
branches: [main]
99

1010
jobs:
1111
tests:

.github/workflows/specs_postgres_60.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Specs Rails 6.0 Postgres
33

44
on:
55
pull_request:
6-
branches: [master]
6+
branches: [main]
77
push:
8-
branches: [master]
8+
branches: [main]
99

1010
jobs:
1111
tests:
@@ -58,7 +58,7 @@ jobs:
5858
run: bundle exec rspec --profile
5959

6060
# - name: Upload coverage results
61-
# uses: actions/upload-artifact@master
61+
# uses: actions/upload-artifact@main
6262
# if: always()
6363
# with:
6464
# name: coverage-report

.github/workflows/specs_postgres_61.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Specs Rails 6.1 Postgres
33

44
on:
55
pull_request:
6-
branches: [master]
6+
branches: [main]
77
push:
8-
branches: [master]
8+
branches: [main]
99

1010
jobs:
1111
tests:
@@ -58,7 +58,7 @@ jobs:
5858
run: bundle exec rspec --profile
5959

6060
# - name: Upload coverage results
61-
# uses: actions/upload-artifact@master
61+
# uses: actions/upload-artifact@main
6262
# if: always()
6363
# with:
6464
# name: coverage-report

.github/workflows/specs_postgres_70.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Specs Rails 7.0 Postgres
33

44
on:
55
pull_request:
6-
branches: [master]
6+
branches: [main]
77
push:
8-
branches: [master]
8+
branches: [main]
99

1010
jobs:
1111
tests:
@@ -66,7 +66,7 @@ jobs:
6666
${{github.workspace}}/coverage/lcov/active_storage_db.lcov:lcov
6767
6868
# - name: Upload coverage results
69-
# uses: actions/upload-artifact@master
69+
# uses: actions/upload-artifact@main
7070
# if: always()
7171
# with:
7272
# name: coverage-report

.reviewdog.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ runner:
55
fasterer:
66
cmd: bin/fasterer
77
level: info
8-
reek:
9-
cmd: bin/reek
10-
level: info
118
rubocop:
129
cmd: bin/rubocop
1310
level: info

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
postgres 14.6

Appraisals

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ end
1313
appraise 'rails-7_0-postgres' do
1414
gem 'pg'
1515
gem 'rails', '~> 7.0.0'
16-
17-
# gem 'net-http' # NOTE: tried to solve a work related to already initialized Net::ProtocRetryError
1816
end
1917

2018
appraise 'rails-6_0-mysql' do

0 commit comments

Comments
 (0)