Skip to content

Merge pull request #96 from keboola/devin/1781899665-fix-manifest-typ… #125

Merge pull request #96 from keboola/devin/1781899665-fix-manifest-typ…

Merge pull request #96 from keboola/devin/1781899665-fix-manifest-typ… #125

Workflow file for this run

name: GitHub Actions
on: [ push ]
concurrency: ci-${{ github.ref }} # to avoid tag collisions in the ECR
env:
# Name of the image in the ECR
APP_IMAGE: php-component
# DockerHub login
DOCKERHUB_USER: "keboolabot"
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
phpVersion: [8.2, 8.3, 8.4]
symfonyVersion: ["5.4.*", "6.4.*", "7.2.*"]
steps:
-
name: Check out the repo
uses: actions/checkout@v2
-
name: Build image
run: docker build --build-arg phpversion=${{ matrix.phpVersion }} --build-arg SYMFONY_REQUIRE=${{ matrix.symfonyVersion }} -t $APP_IMAGE .
-
name: Run tests
run: docker run ${{env.APP_IMAGE}} composer ci