This repository provides a GitHub Action to run Composer commands within a Docker container. It wraps the Composer CLI, allowing users to specify a command (default `install`), PHP version, Composer version, and various flags like `--no-dev`, `--no-progress`, and `--no-interaction`. The action downloads the appropriate Composer PHAR from getcomposer.org, sets up SSH keys for private repositories if provided, and executes the command inside a Docker container based on the php-actions/php-build image. The workspace is mounted at `/app`. The implementation is a single composite action with a bash script that handles argument parsing, SSH key setup, and Docker execution. It is a straightforward, well-documented action that solves the common problem of running Composer in CI pipelines. No reusable components beyond the action itself exist; the bash script is tightly coupled to GitHub Actions and Docker.
This repository is a Karma plugin that enables running unit tests on Sauce Labs cloud browsers. It provides a launcher to set up browser sessions via WebDriverIO and Sauce Connect tunneling, and a reporter to send test results back to Sauce Labs for display in their dashboard. The architecture follows Karma's plugin interface with separate modules for launcher, reporter, tunnel management, and configuration processing. The code handles both legacy JSONWP and modern W3C WebDriver protocols, manages session heartbeats, and processes test annotations for Sauce Labs reporting. External dependencies include WebdriverIO, Sauce Labs Node.js client, and global-agent for proxy support.