Skip to content

Commit

Permalink
Merge pull request #1 from Invertus/initial-creation
Browse files Browse the repository at this point in the history
Lock creation
  • Loading branch information
GytisZum authored Apr 11, 2024
2 parents 458d935 + 3276479 commit 07dedac
Show file tree
Hide file tree
Showing 15 changed files with 2,305 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: PHP Tests

on: [push, pull_request]

jobs:
php-tests:
name: PHP Tests
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.2.5'

- name: Install dependencies
run: composer install --no-progress --no-suggest --prefer-dist

- name: Run PHPUnit tests
run: |
php vendor/phpunit/phpunit/phpunit --no-configuration tests
43 changes: 43 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Symfony
/vendor/
/var/
/public/bundles/

# Application dependencies
/.phpunit.result.cache
/.phpunit.cache
/.phpunit.files

# PHPCS (PHP Coding Standards Fixer)
/.php_cs.cache

# Composer
/composer.phar
/vendor-bin/

# Symfony Encore
/node_modules/
/public/build/

# Logs and temporary files
/var/cache/
/var/log/
/var/sessions/
/var/tmp/
/public/uploads/

# Environment file
/.env.local

# IDE files
/.idea/
/.vscode/

# Miscellaneous
/.DS_Store
/.swo
/.swp
/.vagrant/
*.log
*.sublime-project
*.sublime-workspace
Empty file added CHANGELOG.md
Empty file.
1 change: 1 addition & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
licence
31 changes: 31 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "invertus/lock",
"license": "MIT",
"type": "library",
"description": "The Lock Component creates and manages locks, a mechanism to provide exclusive access to a shared resource.",
"homepage": "https://github.com/Invertus/lock",
"authors": [
{
"name": "Invertus",
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"php": ">=5.5.9",
"symfony/lock": "v3.4.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7"
},
"autoload": {
"psr-4": {
"Invertus\\Lock\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Invertus\\Lock\\Tests\\": "tests/"
}
}
}
Loading

0 comments on commit 07dedac

Please sign in to comment.