Improve the docstring of write_to_file and read_from_file and support… #5223
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 | |
| - release-* | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| concurrency: | |
| # Skip intermediate builds: always. | |
| # Cancel intermediate builds: only if it is a pull request build. | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
| # needed to allow julia-actions/cache to delete old caches that it has created | |
| permissions: | |
| actions: write | |
| contents: read | |
| jobs: | |
| test: | |
| name: Julia ${{ matrix.machine.version }} - ${{ matrix.machine.os }}-${{ matrix.machine.arch }} - ${{ matrix.moi_test_modules }} | |
| runs-on: ${{ matrix.machine.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| moi_test_modules: | |
| - 'General;Benchmarks;FileFormats;Nonlinear' | |
| - 'Bridges' | |
| - 'Bridges/Constraint;Bridges/Objective;Bridges/Variable' | |
| - 'Test' | |
| - 'Utilities' | |
| machine: | |
| - version: 'nightly' | |
| os: ubuntu-latest | |
| arch: x64 | |
| - version: '1' | |
| os: ubuntu-latest | |
| arch: x64 | |
| - version: '1' | |
| os: windows-latest | |
| arch: x64 | |
| - version: '1.6' | |
| os: ubuntu-latest | |
| arch: x64 | |
| - version: '1' | |
| os: ubuntu-latest | |
| arch: x86 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: ${{ matrix.machine.version }} | |
| arch: ${{ matrix.machine.arch }} | |
| - uses: julia-actions/cache@v1 | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| - uses: julia-actions/julia-runtest@v1 | |
| env: | |
| MOI_TEST_MODULES: ${{ matrix.moi_test_modules }} | |
| - uses: julia-actions/julia-processcoverage@v1 | |
| - uses: codecov/codecov-action@v4 | |
| with: | |
| file: lcov.info | |
| token: ${{ secrets.CODECOV_TOKEN }} |