Revision 23777
Added by Marius BĂLTEANU about 1 month ago
branches/5.1-stable/.github/workflows/tests.yml | ||
---|---|---|
106 | 106 |
LC_ALL: en_US.ISO8859-1 |
107 | 107 |
run: | |
108 | 108 |
bin/rails test test/unit/repository_bazaar_test.rb |
109 |
|
|
110 |
# System tests use Chrome and ChromeDriver installed on the GitHub Actions Ubuntu image. |
|
111 |
# They are generally updated to the latest stable versions. |
|
112 |
- name: Run system tests |
|
113 |
run: | |
|
114 |
google-chrome --version |
|
115 |
bin/rails test:system |
|
116 |
env: |
|
117 |
GOOGLE_CHROME_OPTS_ARGS: headless,disable-gpu,no-sandbox,disable-dev-shm-usage |
|
118 |
# System tests might still be a bit unstable, so for now, even if a system test fails, |
|
119 |
# output the results and consider the overall test as successful. |
|
120 |
continue-on-error: true |
|
121 |
|
|
122 |
- name: Upload system test screenshots |
|
123 |
if: always() |
|
124 |
uses: actions/upload-artifact@v4 |
|
125 |
with: |
|
126 |
name: system-test-screenshots-ruby${{ matrix.ruby }}-${{ matrix.db }} |
|
127 |
path: tmp/screenshots |
|
128 |
if-no-files-found: ignore |
Also available in: Unified diff
Backported r23762 to 5.1-stable (#42688).