CompatHelper: bump compat for ForwardDiff to 1, (keep existing compat) #563
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: | |
| - main | |
| tags: ['*'] | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
| jobs: | |
| test: | |
| name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: | |
| - '1' | |
| os: | |
| - ubuntu-latest | |
| #- macOS-latest | |
| #- windows-latest | |
| arch: | |
| - x64 | |
| env: | |
| CI: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: julia-actions/setup-julia@v1 | |
| with: | |
| version: ${{ matrix.version }} | |
| arch: ${{ matrix.arch }} | |
| - uses: julia-actions/cache@v1 | |
| # Setup headless display for Linux | |
| - name: Setup Xvfb (Linux) | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y xvfb libgl1 | |
| export DISPLAY=:99 | |
| Xvfb :99 -screen 0 1024x768x24 & | |
| sleep 3 | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| - name: Run tests | |
| uses: julia-actions/julia-runtest@v1 | |
| env: | |
| DISPLAY: ${{ runner.os == 'Linux' && ':99' || '' }} |