Skip to content

Commit

Permalink
support-php-83
Browse files Browse the repository at this point in the history
  • Loading branch information
jgivoni committed Jan 9, 2024
1 parent 2bd39eb commit 3aef7c2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copy this file to .env

# Change PHP version to test another version locally, then recreate the docker container
# PHP_VERSION="8.1"
4 changes: 2 additions & 2 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.1", "8.2"]
php_version: ["8.1", "8.2", "8.3"]
name: PhpStan static analyzer ${{ matrix.php_version }}
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
job2:
strategy:
matrix:
php_version: ["8.1", "8.2"]
php_version: ["8.1", "8.2", "8.3"]
name: PhpUnit unit tests ${{ matrix.php_version }}
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
composer.lock
vendor
.phpunit.cache
.env
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Jakob Givoni
Copyright (c) 2023-2024 Jakob Givoni

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ services:
build:
context: .
dockerfile: ./Dockerfile
args:
PHP_VERSION: "${PHP_VERSION}"
env_file:
- .env
volumes:
- .:/app
command: [ "tail", "-f", "/dev/null" ]

0 comments on commit 3aef7c2

Please sign in to comment.