7979 features : plotly_ndarray,plotly_image,static_export_default,ci
8080 - os : ubuntu-latest
8181 browser : firefox
82- features : plotly_ndarray,plotly_image,static_export_geckodriver,static_export_downloader ,ci
82+ features : plotly_ndarray,plotly_image,static_export_geckodriver,static_export_wd_download ,ci
8383 - os : windows-latest
8484 browser : chrome
8585 features : plotly_ndarray,plotly_image,static_export_chromedriver,ci
@@ -132,7 +132,7 @@ jobs:
132132 # Run tests on Ubuntu with Chrome
133133 - name : Run tests (${{ matrix.os }} - Chrome)
134134 if : matrix.os == 'ubuntu-latest' && matrix.browser == 'chrome'
135- run : cargo test --verbose -- workspace --features ${{ matrix.features }} --exclude plotly_kaleido
135+ run : cargo test --workspace --features ${{ matrix.features }} --exclude plotly_kaleido
136136
137137 # Install xvfb for Firefox WebGL support
138138 - name : Install xvfb
@@ -144,12 +144,6 @@ jobs:
144144 # Run tests on Ubuntu with Firefox
145145 - name : Run tests (${{ matrix.os }} - Firefox)
146146 if : matrix.os == 'ubuntu-latest' && matrix.browser == 'firefox'
147- env :
148- MOZ_HEADLESS : 1
149- LIBGL_ALWAYS_SOFTWARE : 1
150- MESA_GL_VERSION_OVERRIDE : 3.3
151- MOZ_DISABLE_RDD_SANDBOX : 1
152- MOZ_DISABLE_CONTENT_SANDBOX : 1
153147 run : |
154148 # Set environment variables for Firefox WebDriver
155149 export BROWSER_PATH="${{ steps.setup-firefox.outputs.firefox-path }}"
@@ -160,12 +154,12 @@ jobs:
160154 echo "BROWSER_PATH: $BROWSER_PATH"
161155 echo "RUST_LOG: $RUST_LOG"
162156
163- xvfb-run -s "-screen 0 1920x1080x24" cargo test --verbose -- workspace --features ${{ matrix.features }} --exclude plotly_kaleido
157+ xvfb-run -s "-screen 0 1920x1080x24" cargo test --workspace --features ${{ matrix.features }} --exclude plotly_kaleido
164158
165159 # Run tests on macOS with Chrome
166160 - name : Run tests (${{ matrix.os }} - Chrome)
167161 if : matrix.os == 'macos-latest' && matrix.browser == 'chrome'
168- run : cargo test --verbose -- workspace --features ${{ matrix.features }} --exclude plotly_kaleido
162+ run : cargo test --workspace --features ${{ matrix.features }} --exclude plotly_kaleido
169163
170164 # Run tests on Windows with Chrome WebDriver
171165 - name : Run tests (${{ matrix.os }} - Chrome)
@@ -183,13 +177,13 @@ jobs:
183177 Write-Host "WEBDRIVER_PATH: $env:WEBDRIVER_PATH"
184178 Write-Host "BROWSER_PATH: $env:BROWSER_PATH"
185179
186- cargo test --verbose -- workspace --features ${{ matrix.features }} --exclude plotly_kaleido
180+ cargo test --workspace --features ${{ matrix.features }} --exclude plotly_kaleido
187181
188182 - name : Upload example.pdf artifact
189183 uses : actions/upload-artifact@v4
190184 with :
191- name : example-pdf-${{ matrix.os }}
192- path : ${{ github.workspace }}/plotly_static/example.pdf
185+ name : example-pdf-${{ matrix.os }}-${{ matrix.browser }}
186+ path : ${{ github.workspace }}/plotly_static/example.*
193187 retention-days : 30
194188
195189 code-coverage :
0 commit comments