Skip to content

Commit 7a65a8b

Browse files
committed
try making build closer to jenkins
1 parent 6e5df87 commit 7a65a8b

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
- name: Run RSpec
141141
if: ${{ always() }}
142142
run: |
143-
docker compose exec -e RAILS_ENV=test app rspec --format progress --format html --out artifacts/rspec.html
143+
docker compose exec -e RAILS_ENV=test app rake check
144144
145145
- name: Run Rubocop
146146
if: ${{ always() }}

.rspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
--require spec_helper
22
--format progress
3-
--format RspecJunitFormatter
4-
--out artifacts/rspec/specs.xml
3+
--format html
4+
--out artifacts/rspec.html

docker-compose.ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ services:
88
image: ${DOCKER_APP_IMAGE}
99
volumes: !override
1010
- artifacts:/opt/app/artifacts
11+
environment: !reset
1112

1213
volumes:
1314
artifacts:

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ services:
2020
db:
2121
# For local development, set DATABASE_URL=mysql2://root:root@0.0.0.0:33306/NARA
2222
# or use `mysql -u root -proot -h 0.0.0.0 -P 33306 -D NARA`
23-
image: ghcr.io/berkeleylibrary/nara-db:AP-499
23+
image: ghcr.io/berkeleylibrary/nara-db:latest
2424
environment:
2525
# Default password for the image is empty, but adminer doesn't support
2626
# that (https://www.adminer.org/en/password/), so we use 'root'

0 commit comments

Comments
 (0)