Skip to content

Commit 5c79822

Browse files
committed
Merge remote-tracking branch 'origin/master' into feat-dependency-upgrades-2
2 parents 31fc904 + d632700 commit 5c79822

File tree

88 files changed

+2824
-465
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+2824
-465
lines changed

.github/workflows/tests.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: CI Workflow
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
on: [pull_request]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
php-version: ['8.1']
16+
sdk: [Android11Java8, Android11Java11, Android12Java8, Android12Java11, CLINode14, CLINode16, DartBeta, DartStable, Deno1193, Deno1303, DotNet60, DotNet70, FlutterStable, FlutterBeta, Go112, Go118, KotlinJava8, KotlinJava11, KotlinJava17, Node12, Node14, Node16, PHP74, PHP80, Python38, Python39, Python310, Ruby27, Ruby30, Ruby31, AppleSwift55, Swift55, WebChromium, WebNode]
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v3
21+
with:
22+
submodules: recursive
23+
24+
- name: Docker Setup Buildx
25+
uses: docker/[email protected]
26+
27+
- name: Setup PHP with PECL extension
28+
uses: shivammathur/setup-php@v2
29+
with:
30+
php-version: ${{ matrix.php-version }}
31+
extensions: curl
32+
33+
- name: Before Install
34+
run: |
35+
if [ ! -z "${DOCKERHUB_PULL_USERNAME:-}" ]; then
36+
echo "${DOCKERHUB_PULL_PASSWORD}" | docker login --username "${DOCKERHUB_PULL_USERNAME}" --password-stdin
37+
fi
38+
39+
- name: Install
40+
run: |
41+
docker --version
42+
composer install
43+
44+
- name: Lint
45+
if: matrix.sdk == 'Lint'
46+
run: |
47+
composer lint
48+
49+
- name: Run Tests
50+
run: |
51+
composer test tests/${{ matrix.sdk }}Test.php
52+
53+
lint:
54+
runs-on: ubuntu-latest
55+
56+
steps:
57+
- name: Checkout code
58+
uses: actions/checkout@v3
59+
60+
- name: Setup PHP with PECL extension
61+
uses: shivammathur/setup-php@v2
62+
with:
63+
php-version: ${{ matrix.php-version }}
64+
extensions: curl
65+
66+
- name: Install
67+
run: composer install
68+
69+
- name: Lint
70+
run: composer lint

.travis.yml

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)