Skip to content

Commit

Permalink
WIP: test continue-on-error
Browse files Browse the repository at this point in the history
  • Loading branch information
tom93 committed Jan 5, 2024
1 parent 29d6522 commit 477a6af
Showing 1 changed file with 4 additions and 28 deletions.
32 changes: 4 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,7 @@ jobs:
DATABASE_URL: "postgresql://postgres:postgres@localhost:5432"

steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true

- run: bash script/install/config.bash --defaults
env:
DATABASE_INSTALL: false
DATABASE_USERNAME: postgres
DATABASE:
TEST_DATABASE: nztraintest
REDIS_INSTALL: false
REDIS_PASS:
SCHEDULE_BACKUPS: 0
ISOLATE_ROOT: /
ISOLATE_CGROUPS: false
ISOLATE_BRANCH: master

- run: AUTOCONFIRM=true script/install.bash --skip-update
env:
PGHOST: localhost
PGUSER: postgres
PGPASSWORD: postgres

- run: bundle exec rake db:test:load
- run: bundle exec rspec

# - uses: coverallsapp/github-action@v2
- run: echo STEP 1; exit 1
continue-on-error: true
- run: echo STEP 2; exit 1
continue-on-error: true

0 comments on commit 477a6af

Please sign in to comment.