a fix to issue #983: check if the data stream exist again when retry to create it #552
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: Testing on macOS | |
| on: | |
| - push | |
| - pull_request | |
| permissions: | |
| contents: read | |
| jobs: | |
| ruby-versions: | |
| uses: ruby/actions/.github/workflows/ruby_versions.yml@master | |
| with: | |
| engine: cruby | |
| min_version: 3.2 | |
| build: | |
| needs: ruby-versions | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} | |
| exclude: | |
| - ruby: head | |
| os: | |
| - macOS-latest | |
| name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| - name: unit testing | |
| env: | |
| CI: true | |
| run: | | |
| gem install bundler rake | |
| bundle install --jobs 4 --retry 3 | |
| bundle exec rake test |