Skip to content

Commit

Permalink
Slow down execution by 50 more frames (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Feb 26, 2024
1 parent 1b04219 commit b8fb6fc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/example-report.yml
Expand Up @@ -122,7 +122,7 @@ jobs:
id: screenshots-linux
if: runner.os == 'linux'
continue-on-error: true
run: xvfb-run -s "-screen 0 1280x1024x24" cargo run -p example-showcase -- --page ${{ matrix.page }} --per-page ${{ env.PER_PAGE }} run --screenshot-at 200 --frame-duration 0.025 --stop-at 300 --in-ci --ignore-stress-tests --report-details
run: xvfb-run -s "-screen 0 1280x1024x24" cargo run -p example-showcase -- --page ${{ matrix.page }} --per-page ${{ env.PER_PAGE }} run --screenshot-at 250 --frame-duration 0.02 --stop-at 350 --in-ci --ignore-stress-tests --report-details

- name: Take Screenshots (Windows)
id: screenshots-windows
Expand All @@ -134,13 +134,13 @@ jobs:
$screen = [System.Windows.Forms.SystemInformation]::VirtualScreen
[Windows.Forms.Cursor]::Position = "$($screen.Width / 2),$($screen.Height / 2)"
cargo run -p example-showcase -- --page ${{ matrix.page }} --per-page ${{ env.PER_PAGE }} run --screenshot-at 200 --frame-duration 0.025 --stop-at 300 --in-ci --ignore-stress-tests --report-details
cargo run -p example-showcase -- --page ${{ matrix.page }} --per-page ${{ env.PER_PAGE }} run --screenshot-at 250 --frame-duration 0.02 --stop-at 350 --in-ci --ignore-stress-tests --report-details
- name: Take Screenshots (macOS)
id: screenshots-macos
if: runner.os == 'macos'
continue-on-error: true
run: cargo run -p example-showcase -- --page ${{ matrix.page }} --per-page ${{ env.PER_PAGE }} run --screenshot-at 200 --frame-duration 0.025 --stop-at 300 --in-ci --ignore-stress-tests --report-details
run: cargo run -p example-showcase -- --page ${{ matrix.page }} --per-page ${{ env.PER_PAGE }} run --screenshot-at 250 --frame-duration 0.02 --stop-at 350 --in-ci --ignore-stress-tests --report-details

- name: Log errors
shell: pwsh
Expand Down Expand Up @@ -415,17 +415,17 @@ jobs:
- name: Take Screenshots (Linux)
if: runner.os == 'linux'
continue-on-error: true
run: xvfb-run -s "-screen 0 1280x1024x24" cargo run -p example-showcase -- run --screenshot-at 0 --frame-duration 0.025 --stop-at 200 --in-ci --ignore-stress-tests --report-details --example-list failure-list
run: xvfb-run -s "-screen 0 1280x1024x24" cargo run -p example-showcase -- run --screenshot-at 0 --frame-duration 0.02 --stop-at 200 --in-ci --ignore-stress-tests --report-details --example-list failure-list

- name: Take Screenshots (Windows)
if: runner.os == 'windows'
continue-on-error: true
run: cargo run -p example-showcase -- run --screenshot-at 0 --frame-duration 0.025 --stop-at 200 --in-ci --ignore-stress-tests --report-details --example-list failure-list
run: cargo run -p example-showcase -- run --screenshot-at 0 --frame-duration 0.02 --stop-at 200 --in-ci --ignore-stress-tests --report-details --example-list failure-list

- name: Take Screenshots (macOS)
if: runner.os == 'macos'
continue-on-error: true
run: cargo run -p example-showcase -- run --screenshot-at 0 --frame-duration 0.025 --stop-at 200 --in-ci --ignore-stress-tests --report-details --example-list failure-list
run: cargo run -p example-showcase -- run --screenshot-at 0 --frame-duration 0.02 --stop-at 200 --in-ci --ignore-stress-tests --report-details --example-list failure-list

- name: Upload Rerun Status
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit b8fb6fc

Please sign in to comment.