Display the number of migrations added
Some checks failed
Run unit tests / unit_tests (pull_request) Failing after 3m18s
Run unit tests / check-licenses (pull_request) Successful in 1m42s
Run unit tests / rubocop (pull_request) Successful in 1m45s
Run unit tests / build-static-assets (pull_request) Has been skipped
Run unit tests / copyright_notice (pull_request) Successful in 2m24s
Some checks failed
Run unit tests / unit_tests (pull_request) Failing after 3m18s
Run unit tests / check-licenses (pull_request) Successful in 1m42s
Run unit tests / rubocop (pull_request) Successful in 1m45s
Run unit tests / build-static-assets (pull_request) Has been skipped
Run unit tests / copyright_notice (pull_request) Successful in 2m24s
This commit is contained in:
parent
89bc7fa142
commit
966998e6c8
@ -21,6 +21,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
depth: 2
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: ruby/setup-ruby@v1.207.0
|
||||
- run: bundle install
|
||||
@ -34,6 +35,8 @@ jobs:
|
||||
echo "Trying again"
|
||||
done
|
||||
- run: |
|
||||
migrations_added=$(git diff origin/main --name-only db/migrate/ | wc -l)
|
||||
echo "Migrations added: $migrations_added"
|
||||
bundle exec rake db:schema:load db:migrate:status db:migrate:redo
|
||||
git diff --exit-code db/schema.rb
|
||||
bundle exec rspec
|
||||
|
Loading…
x
Reference in New Issue
Block a user