Skip to content

Commit

Permalink
limiting initial compatibility to php 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jgivoni committed Aug 31, 2023
1 parent 48986ff commit 23e6eb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
job1:
strategy:
matrix:
php_version: ["8.0", "8.1", "8.2"]
php_version: ["8.2"]
name: PhpStan static analyzer ${{ matrix.php_version }}
runs-on: ubuntu-latest
steps:
Expand All @@ -22,7 +22,7 @@ jobs:
run: docker image build . -f Dockerfile -t myimage:latest --build-arg PHP_VERSION=${{ matrix.php_version }}

- name: Launch container
run: docker run -d -v "$(pwd)/:/app" --name mycontainer myimage:latest
run: docker run -d -v "$(pwd)/:/app" --name mycontainer myimage:latest tail -f /dev/null

- name: Check PHP version
run: docker exec mycontainer php -v
Expand All @@ -39,7 +39,7 @@ jobs:
job2:
strategy:
matrix:
php_version: ["8.0", "8.1", "8.2"]
php_version: ["8.2"]
name: PhpUnit unit tests ${{ matrix.php_version }}
runs-on: ubuntu-latest
steps:
Expand All @@ -55,7 +55,7 @@ jobs:
run: docker image build . -f Dockerfile -t myimage:latest --build-arg PHP_VERSION=${{ matrix.php_version }}

- name: Launch container
run: docker run -d -v "$(pwd)/:/app" --name mycontainer myimage:latest
run: docker run -d -v "$(pwd)/:/app" --name mycontainer myimage:latest tail -f /dev/null

- name: Check PHP version
run: docker exec mycontainer php -v
Expand Down
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@ RUN install-php-extensions \
@composer-2

WORKDIR /app

ENTRYPOINT ["tail", "-f", "/dev/null"]

0 comments on commit 23e6eb6

Please sign in to comment.