Skip to content

Commit

Permalink
minor changes to composer packages and adding workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
frets1700 committed Dec 6, 2023
1 parent 4c1fa8e commit cf65615
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 70 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Tests

on:
workflow_dispatch:

push:
paths-ignore:
- '*.md'
- '.github/**'

pull_request:
paths-ignore:
- '*.md'
- '.github/**'

jobs:
tests:
name: Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.1]
experimental: [false]
include:
- php: 8.1
analysis: true

steps:
- name: Checkout
uses: actions/checkout@v4
run: echo "${{ github.repository }} repository has been cloned."

- name: PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
extensions: none, curl
coverage: xdebug

- name: Composer
uses: ramsey/composer-install@v2

- name: Tests
run: vendor/bin/phpunit --coverage-clover clover.xml

64 changes: 0 additions & 64 deletions .scrutinizer.yml

This file was deleted.

9 changes: 3 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@
"ext-json": "*",
"php": "^8.1",
"microsoft/microsoft-graph": "^2.0.0",
"ramsey/uuid" : "^4.0",
"guzzlehttp/guzzle": "^6.2 || ^7.2",
"monolog/monolog" : "^2.3",
"myclabs/php-enum": "^1.6.0"
"monolog/monolog" : "^2.3"
},
"require-dev": {
"squizlabs/php_codesniffer": "^2.5",
"friendsofphp/php-cs-fixer" : "^2.14.0",
"squizlabs/php_codesniffer": "^3.7.2",
"friendsofphp/php-cs-fixer" : "^v3.40.2",
"phpunit/phpunit": "^10.5.1"
},
"minimum-stability": "stable",
Expand Down

0 comments on commit cf65615

Please sign in to comment.