1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 19:47:14 +00:00

Run system tests on GitHub CI (#42688).

Patch by Katsuya HIDAKA (user:hidakatsuya).

git-svn-id: https://svn.redmine.org/redmine/trunk@23762 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2025-05-14 17:39:24 +00:00
parent e78e1e29fd
commit ef579e198a

View File

@ -110,3 +110,23 @@ jobs:
- name: Run autoload test
run: |
bin/rails test:autoload
# System tests use Chrome and ChromeDriver installed on the GitHub Actions Ubuntu image.
# They are generally updated to the latest stable versions.
- name: Run system tests
run: |
google-chrome --version
bin/rails test:system
env:
GOOGLE_CHROME_OPTS_ARGS: headless,disable-gpu,no-sandbox,disable-dev-shm-usage
# System tests might still be a bit unstable, so for now, even if a system test fails,
# output the results and consider the overall test as successful.
continue-on-error: true
- name: Upload system test screenshots
if: always()
uses: actions/upload-artifact@v4
with:
name: system-test-screenshots-ruby${{ matrix.ruby }}-${{ matrix.db }}
path: tmp/screenshots
if-no-files-found: ignore