Skip to content

Commit c8facd9

Browse files
committed
Initialize repo meta
1 parent 4f5ef5f commit c8facd9

File tree

4 files changed

+70
-0
lines changed

4 files changed

+70
-0
lines changed

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on: push
2+
name: Test
3+
jobs:
4+
test:
5+
name: Test
6+
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
php: [ '7.1', '7.2', '7.3', '7.4', '8.0' ]
10+
11+
steps:
12+
- uses: actions/checkout@master
13+
14+
- name: Setup PHP
15+
uses: shivammathur/setup-php@v2
16+
with:
17+
php-version: ${{ matrix.php }}
18+
coverage: none
19+
20+
- name: Install Dependencies
21+
run: composer install
22+
23+
- name: Test
24+
run: make tests

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/vendor/
2+
composer.lock

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.PHONY: tests
2+
3+
tests: vendor
4+
php -d zend.assertions=1 -d assert.exception=1 vendor/bin/peridot ./specs
5+
6+
vendor: composer.json composer.lock
7+
composer install
8+
touch vendor

composer.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "technically/array-container",
3+
"description": "Plain-simple array container implementation for PSR-11",
4+
"type": "library",
5+
"keywords": [
6+
"php",
7+
"psr-11",
8+
"psr-container",
9+
"container",
10+
"array",
11+
"simple"
12+
],
13+
"require": {
14+
"php": ">=7.1",
15+
"psr/container": "^1.0"
16+
},
17+
"require-dev": {
18+
"peridot-php/peridot": "^1.19"
19+
},
20+
"provide": {
21+
"psr/container-implementation": "1.*"
22+
},
23+
"license": "MIT",
24+
"authors": [
25+
{
26+
"name": "Ivan Voskoboinyk",
27+
"email": "ivan@voskoboinyk.com"
28+
}
29+
],
30+
"minimum-stability": "stable",
31+
"autoload": {
32+
"psr-4": {
33+
"Technically\\ArrayContainer\\": "src"
34+
}
35+
}
36+
}

0 commit comments

Comments
 (0)