File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM --platform=linux/amd64 php:8.3.0alpha2-apache
2+ RUN apt-get update && apt-get install -y --no-install-recommends \
3+ git \
4+ iputils-ping \
5+ libldap2-dev \
6+ libpng-dev \
7+ libpq-dev \
8+ libsqlite3-dev \
9+ libzip-dev \
10+ mariadb-client \
11+ postgresql-client \
12+ sqlite3 \
13+ sudo \
14+ unzip \
15+ vim \
16+ && apt-get -y clean \
17+ && rm -rf /var/lib/apt/lists/*
18+ RUN docker-php-ext-install bcmath zip pdo pdo_mysql pdo_pgsql pdo_sqlite exif gd ldap
19+ COPY composer.json /composer.json
20+ COPY composer.lock /composer.lock
21+ COPY src /src
22+ COPY test /test
23+ RUN curl -sS https://getcomposer.org/installer | php; mv composer.phar /usr/local/bin/composer; chmod +x /usr/local/bin/composer
24+ RUN cd / && composer update
25+ #RUN composer test
Original file line number Diff line number Diff line change 66 - " *"
77
88jobs :
9+ test-with-php83 :
10+ runs-on : ubuntu-latest
11+ continue-on-error : true
12+ steps :
13+ - uses : actions/checkout@v3
14+ - name : docker-compose-run
15+ shell : bash
16+ run : |
17+ cp .github/workflows/Dockerfile-for-php-8.3 Dockerfile
18+ docker-compose up -d
19+ sleep 60
20+ docker-compose exec -T web sh -c "cd / && composer test"
21+
922 test-with-php82 :
1023 runs-on : ubuntu-latest
1124 steps :
12- - uses : actions/checkout@v2
25+ - uses : actions/checkout@v3
1326 - name : docker-compose-run
1427 shell : bash
1528 run : |
2134 test-with-php81 :
2235 runs-on : ubuntu-latest
2336 steps :
24- - uses : actions/checkout@v2
37+ - uses : actions/checkout@v3
2538 - name : docker-compose-run
2639 shell : bash
2740 run : |
3346 test-with-php80 :
3447 runs-on : ubuntu-latest
3548 steps :
36- - uses : actions/checkout@v2
49+ - uses : actions/checkout@v3
3750 - name : docker-compose-run
3851 shell : bash
3952 run : |
4558 test-with-php74 :
4659 runs-on : ubuntu-latest
4760 steps :
48- - uses : actions/checkout@v2
61+ - uses : actions/checkout@v3
4962 - name : docker-compose-run
5063 shell : bash
5164 run : |
5770 test-with-php73 :
5871 runs-on : ubuntu-latest
5972 steps :
60- - uses : actions/checkout@v2
73+ - uses : actions/checkout@v3
6174 - name : docker-compose-run
6275 shell : bash
6376 run : |
6982 test-with-php72 :
7083 runs-on : ubuntu-latest
7184 steps :
72- - uses : actions/checkout@v2
85+ - uses : actions/checkout@v3
7386 - name : docker-compose-run
7487 shell : bash
7588 run : |
You can’t perform that action at this time.
0 commit comments