Skip to content

Store test failures artifacts #636

Store test failures artifacts

Store test failures artifacts #636

name: CI
on:
pull_request:
branches:
- master
push:
jobs:
ci:
name: CI
runs-on: ubuntu-latest
env:
RAILS_ENV: test
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Cache Docker images.
uses: ScribeMD/[email protected]
with:
key: docker-${{ runner.os }}-${{ hashFiles('docker-compose.ci.yml') }}
- name: Build
run: script/ci/cibuild
- name: Test
run: script/ci/test
- name: Save test failures
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-failures
path: srv/app/tmp/capybara