Skip to content

Commit 6419553

Browse files
committed
testing tests v3
1 parent 52f8fd7 commit 6419553

File tree

2 files changed

+21
-12
lines changed

2 files changed

+21
-12
lines changed

.github/workflows/test_release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,14 @@ jobs:
2323
with:
2424
php-version: '8.0' # You can specify the PHP version you need
2525

26+
- name: Install Composer
27+
run: |
28+
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
29+
php composer-setup.php --install-dir=/usr/local/bin --filename=composer
30+
php -r "unlink('composer-setup.php');"
31+
2632
- name: Install dependencies
2733
run: composer install
2834

2935
- name: Run tests
30-
run: vendor/bin/phpunit --configuration phpunit.xml
36+
run: ./vendor/bin/phpunit --configuration phpunit.xml

composer.json

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
{
2-
"name": "wufr/translator",
3-
"description": "Translate keys into text values based on set language",
4-
"type": "library",
5-
"license": "MIT",
6-
"authors": [
7-
{
8-
"name": "Jiří Bělský",
9-
"email": "[email protected]"
10-
}
11-
],
12-
"require": {},
2+
"name": "wufr/translator",
3+
"description": "Translate keys into text values based on set language",
4+
"type": "library",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Jiří Bělský",
9+
"email": "[email protected]"
10+
}
11+
],
12+
"require": {},
13+
"require-dev": {
14+
"phpunit/phpunit": "^9.0"
15+
},
1316
"autoload": {
1417
"classmap": ["src/"]
1518
}

0 commit comments

Comments
 (0)