Repository navigation
ci: diagnose fig2plotly on figures without axis titles (temporary) #72
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [master, develop] | |
| pull_request: | |
| jobs: | |
| octave-tests: | |
| runs-on: ubuntu-26.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Octave, Xvfb and packages | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y octave octave-dev build-essential xvfb | |
| octave --no-gui --eval "pkg install -forge datatypes; pkg install -forge statistics" | |
| - name: Run plotly tests | |
| working-directory: ${{ github.workspace }}/plotly/testing | |
| env: | |
| PLOTLY_ROOT: ${{ github.workspace }}/plotly | |
| CI: true | |
| run: | | |
| xvfb-run -a octave --no-gui runplotlytests.m | |
| matlab-tests: | |
| name: matlab-tests (${{ matrix.release }}) | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| release: [R2025a, R2026a] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up MATLAB | |
| uses: matlab-actions/setup-matlab@v3 | |
| with: | |
| release: ${{ matrix.release }} | |
| cache: true | |
| products: Statistics_and_Machine_Learning_Toolbox Symbolic_Math_Toolbox | |
| - name: Diagnose fig2plotly without titles | |
| continue-on-error: true | |
| uses: matlab-actions/run-command@v3 | |
| with: | |
| command: addpath(genpath('plotly')); addpath('.github/scripts'); diag_untitled_filename('diag_out'); | |
| - name: Upload diagnostic output | |
| if: ${{ !cancelled() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: diag-untitled-${{ matrix.release }} | |
| path: diag_out/ | |
| retention-days: 7 | |
| - name: Run plotly tests | |
| uses: matlab-actions/run-command@v3 | |
| env: | |
| PLOTLY_ROOT: ${{ github.workspace }}/plotly | |
| CI: true | |
| with: | |
| command: cd plotly/testing; runplotlytests | |
| - name: Build gallery | |
| if: ${{ !cancelled() }} | |
| uses: matlab-actions/run-command@v3 | |
| with: | |
| command: addpath(genpath('plotly')); mkdir('gallery'); makegallery('OutputFolder', 'gallery', 'Open', false); | |
| - name: Upload gallery | |
| if: ${{ !cancelled() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: gallery-${{ matrix.release }} | |
| path: gallery/ |