{"id":23675121,"url":"https://github.com/tinect/github-shopware-matrix-generator","last_synced_at":"2025-07-05T01:37:45.419Z","repository":{"id":269974017,"uuid":"909003451","full_name":"tinect/github-shopware-matrix-generator","owner":"tinect","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-19T15:45:41.000Z","size":285,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-19T16:38:46.791Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-27T14:06:03.000Z","updated_at":"2025-02-19T15:45:43.000Z","dependencies_parsed_at":"2025-01-28T12:29:56.289Z","dependency_job_id":"9fe7e01b-a71b-4630-8719-2bf24b3b0303","html_url":"https://github.com/tinect/github-shopware-matrix-generator","commit_stats":null,"previous_names":["tinect/github-shopware-matrix-generator"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinect%2Fgithub-shopware-matrix-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinect%2Fgithub-shopware-matrix-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinect%2Fgithub-shopware-matrix-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinect%2Fgithub-shopware-matrix-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinect","download_url":"https://codeload.github.com/tinect/github-shopware-matrix-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239708991,"owners_count":19684165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-29T13:56:48.584Z","updated_at":"2025-02-19T18:15:08.337Z","avatar_url":"https://github.com/tinect.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Get Matrix for Shopware Versions\n\nThis GitHub Action retrieves a matrix array for Shopware versions based on a given version constraint.\nIt allows for various configurations such as including/excluding EOL versions, release candidates, and unreleased versions.\n\nAdditionally, the first and last determined shopware versions are always tested with all PHP versions - also respecting the given allowEol input.\n\n## Usage\n\nTo use this action, create a workflow file (e.g., `.github/workflows/test.yml`) in your repository with the following content:\n\n```yaml\nname: Tests\n\non: [push]\n\njobs:\n  get-matrix:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.matrix.outputs.matrix }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Get Shopware Version from composer.json\n        id: shopware-constraint\n        run: echo \"shopware_constraint=$(cat composer.json | jq -r '.require.\"shopware/core\"')\" \u003e\u003e $GITHUB_OUTPUT\n\n      - name: Get Shopware Matrix\n        uses: tinect/github-shopware-matrix-generator@main\n        id: matrix\n        with:\n          versionConstraint: ${{ steps.shopware-constraint.outputs.shopware_constraint }}\n          # Determine whether to include EOL versions of Shopware and PHP.\n          allowEol: false\n          # Determine whether to only include the min and max version of Shopware - otherwise all minor versions in between are included.\n          justMinMaxShopware: false\n          # Determine whether to include unreleased version of Shopware - respecting the version constraint.\n          allowShopwareNext: false\n          # Determine whether to include release candidates of Shopware.\n          allowShopwareRC: false\n          # Determine whether to include PHP version per entry.\n          includePhpVersion: true\n\n  run-tests:\n    name: Run tests\n    needs: get-matrix\n    runs-on: ubuntu-latest\n    strategy:\n      matrix: ${{ fromJson(needs.get-matrix.outputs.matrix) }}\n    steps:\n      - name: Setup Shopware\n        uses: shopware/setup-shopware@main\n        with:\n          shopware-version: ${{ matrix.shopware }}\n          php-version: ${{ matrix.php }}\n          php-extensions: pcov\n          \n      - name: Install Plugin\n        uses: actions/checkout@v3\n        with:\n          path: ${{ github.workspace }}/custom/plugins/myPlugin\n\n      - name: Run tests\n        run: |\n          echo \"Running tests for Shopware ${{ matrix.shopware }} with PHP ${{ matrix.php }}\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinect%2Fgithub-shopware-matrix-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinect%2Fgithub-shopware-matrix-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinect%2Fgithub-shopware-matrix-generator/lists"}