0.13.0

takahirom/arbigent0.13.0Jan 23, 2025by takahirom

AI Summary

Adds a `--shard` option to enable parallel test execution across multiple shards and removes the UI tree from results to reduce file size.

Key Highlights

  • Added `--shard` option for parallel test execution.
  • Removed UI tree from results to reduce file size.

New Features

  • Shard option for parallel execution

Full Release Notes

# Add shard option to enable parallel tests

You can run tests separately with the --shard option.

`arbigent --shard=1/4`

```yaml
  cli-e2e-android:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        shardIndex: [ 1, 2, 3, 4 ]
        shardTotal: [ 4 ]
    steps:
...
      - name: CLI E2E test
        uses: reactivecircus/android-emulator-runner@v2
...
          script: |
            arbigent --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --os=android --project-file=sample-test/src/main/resources/projects/e2e-test-android.yaml --ai-type=gemini --gemini-model-name=gemini-2.0-flash-exp
...

      - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
        if: ${{ always() }}
        with:
          name: cli-report-android-${{ matrix.shardIndex }}-${{ matrix.shardTotal }}
          path: |
            arbigent-result/*
          retention-days: 90
```

## What's Changed
* Remove UI tree from the result. Because UI tree is too big by @takahirom in https://github.com/takahirom/arbigent/pull/100
* Add shard option to enable parallel execution by @takahirom in https://github.com/takahirom/arbigent/pull/99
* Add shard to README by @takahirom in https://github.com/takahirom/arbigent/pull/101


**Full Changelog**: https://github.com/takahirom/arbigent/compare/0.12.0...0.13.0