Spaces:
Sleeping
Sleeping
Download .github/workflows/test-ruby-sdk.yml from s-eto-hub/firecrawl-api: direct link, hf CLI and curl.
- Browser
- Download file 954 Bytes
-
https://huggingface.co/spaces/s-eto-hub/firecrawl-api/resolve/main/.github/workflows/test-ruby-sdk.yml
- Command line
-
hf download hf://spaces/s-eto-hub/firecrawl-api/.github/workflows/test-ruby-sdk.yml
-
curl -L -o test-ruby-sdk.yml https://huggingface.co/spaces/s-eto-hub/firecrawl-api/resolve/main/.github/workflows/test-ruby-sdk.yml
954 Bytes
| name: Ruby SDK Test Suite | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - apps/ruby-sdk/** | |
| - .github/workflows/test-ruby-sdk.yml | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - apps/ruby-sdk/** | |
| workflow_dispatch: | |
| jobs: | |
| build-and-test: | |
| name: Build and Test | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| if: >- | |
| github.event_name == 'workflow_dispatch' || | |
| github.event_name == 'pull_request' || | |
| (github.event_name == 'push' && github.ref == 'refs/heads/main') | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.3" | |
| bundler-cache: true | |
| working-directory: ./apps/ruby-sdk | |
| - name: Install dependencies | |
| working-directory: ./apps/ruby-sdk | |
| run: bundle install | |
| - name: Run unit tests | |
| working-directory: ./apps/ruby-sdk | |
| run: bundle exec rake test | |