Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sm/test-php-language-bindings #1105

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/language-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
# - js_webassembly
# - kotlin
# - nodejs_wasm
# - php
- php
- python
- ruby
# - swift
Expand Down Expand Up @@ -137,8 +137,15 @@ jobs:
if: matrix.language == 'ruby'
uses: ruby/setup-ruby@c04af2bb7258bb6a03df1d3c1865998ac9390972 # v1.194.0
with:
ruby-version: '3.2' # Not needed with a .ruby-version file

ruby-version: "3.2" # Not needed with a .ruby-version file

- name: Install PHP
if: matrix.language == 'php'
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: '8.3'
tools: composer, phpunit

- name: Run language tests
run: |
cd $GITHUB_WORKSPACE/languages/${{ matrix.language }}
Expand Down
1 change: 1 addition & 0 deletions languages/php/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
vendor
src/lib/
src/Schemas/
.phpunit.result.cache
5 changes: 4 additions & 1 deletion languages/php/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
{
"name": "Bitwarden Inc."
}
]
],
"require-dev": {
"phpunit/phpunit": "^11.3"
}
}
Loading
Loading