Skip to content

Commit 4fcde17

Browse files
committed
fix lock file artifact upload
1 parent 8d75cfa commit 4fcde17

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/dockerpush.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
with:
1616
name: lockfiles_test_6_1_ruby_3_0
1717
path: |
18-
yarn.lock
19-
Gemfile.lock
18+
./ci/yarn.lock
19+
./ci/Gemfile.lock
2020
test_6_1_ruby_2_7:
2121
runs-on: ubuntu-latest
2222
steps:
@@ -29,8 +29,8 @@ jobs:
2929
with:
3030
name: lockfiles_test_6_1_ruby_2_7
3131
path: |
32-
yarn.lock
33-
Gemfile.lock
32+
./ci/yarn.lock
33+
./ci/Gemfile.lock
3434
test_6_0_ruby_2_6:
3535
runs-on: ubuntu-latest
3636
steps:
@@ -43,8 +43,8 @@ jobs:
4343
with:
4444
name: lockfiles_test_6_0_ruby_2_6
4545
path: |
46-
yarn.lock
47-
Gemfile.lock
46+
./ci/yarn.lock
47+
./ci/Gemfile.lock
4848
test_5_2_ruby_2_6:
4949
runs-on: ubuntu-latest
5050
steps:
@@ -57,5 +57,5 @@ jobs:
5757
with:
5858
name: lockfiles_test_5_2_ruby_2_6
5959
path: |
60-
yarn.lock
61-
Gemfile.lock
60+
./ci/yarn.lock
61+
./ci/Gemfile.lock

ci/docker-compose.ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
RAILS_ENV: test
1010
links:
1111
- "postgres_test_5_2_ruby_2_6:postgres_test"
12-
command: sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test"
12+
command: sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test && cp Gemfile.lock ./ci/Gemfile.lock && && cp yarn.lock ./ci/yarn.lock"
1313
user: ${CURRENT_UID}
1414

1515
test_6_0_ruby_2_6:
@@ -20,7 +20,7 @@ services:
2020
RAILS_ENV: test
2121
links:
2222
- "postgres_test_6_0_ruby_2_6:postgres_test"
23-
command: sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test"
23+
command: sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test && cp Gemfile.lock ./ci/Gemfile.lock && && cp yarn.lock ./ci/yarn.lock"
2424
user: ${CURRENT_UID}
2525

2626
test_6_1_ruby_2_7:
@@ -31,7 +31,7 @@ services:
3131
RAILS_ENV: test
3232
links:
3333
- "postgres_test_6_1_ruby_2_7:postgres_test"
34-
command: sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test"
34+
command: sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test && cp Gemfile.lock ./ci/Gemfile.lock && && cp yarn.lock ./ci/yarn.lock"
3535
user: ${CURRENT_UID}
3636

3737
test_6_1_ruby_3_0:
@@ -42,7 +42,7 @@ services:
4242
RAILS_ENV: test
4343
links:
4444
- "postgres_test_6_1_ruby_3_0:postgres_test"
45-
command: sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test"
45+
command: sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test && cp Gemfile.lock ./ci/Gemfile.lock && && cp yarn.lock ./ci/yarn.lock"
4646
user: ${CURRENT_UID}
4747

4848
postgres_test_base: &postgres_test_base

0 commit comments

Comments
 (0)