File tree Expand file tree Collapse file tree 1 file changed +29
-39
lines changed
Expand file tree Collapse file tree 1 file changed +29
-39
lines changed Original file line number Diff line number Diff line change 1- # name: Integration Tests
2- #
3- # on:
4- # push:
5- # branches:
6- # - main
7- # pull_request:
8- # branches:
9- # - main
10- #
11- # jobs:
12- # tests:
13- # runs-on: ubuntu-latest
14- # env:
15- # CONNECTION: ${{ secrets.AURA_PRO }}
16- # name: "Running on all provided Aura instances"
17- #
18- # steps:
19- # - uses: actions/checkout@v2
20- # - name: Cache Composer dependencies
21- # uses: actions/cache@v2
22- # with:
23- # path: /tmp/composer-cache
24- # key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
25- # - uses: php-actions/composer@v6
26- # with:
27- # progress: yes
28- # php_version: 8.1
29- # version: 2
30- # - name: clean database
31- # run: CONNECTION=$CONNECTION php tests/clean-database.php
32- # - uses: php-actions/phpunit@v3
33- # with:
34- # configuration: phpunit.xml.dist
35- # php_version: 8.1
36- # memory_limit: 1024M
37- # version: 10
38- # testsuite: Integration
39- # bootstrap: vendor/autoload.php
1+ name : Integration Tests
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ concurrency :
10+ group : integration-tests-aura
11+ cancel-in-progress : false
12+
13+ jobs :
14+ tests :
15+ runs-on : ubuntu-latest
16+ strategy :
17+ max-parallel : 1
18+ matrix :
19+ php : ["8.1.31", "8.3.17"]
20+ name : " Running on all provided Aura instances"
21+ steps :
22+ - uses : actions/checkout@v4
23+ - name : Run tests
24+ run : |
25+ echo "PHP_VERSION=${{ matrix.php }}" > .env
26+ echo "CONNECTION=\"${{ secrets.AURA_PRO }}\"" >> .env
27+
28+ docker compose run --rm --no-deps \
29+ client sh -c "composer install && ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration"
You can’t perform that action at this time.
0 commit comments