Skip to content

Commit

Permalink
readme: github-actions badge
Browse files Browse the repository at this point in the history
  • Loading branch information
vanodevium committed Aug 16, 2024
1 parent bfbe48e commit fa49693
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 44 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on:
push:
branches:
- master

jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
name: PHP ${{ matrix.php-versions }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}

- name: Install dependencies
run: composer install

- name: Run tests
run: composer run test
38 changes: 0 additions & 38 deletions .github/workflows/test.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License
The MIT License (MIT)

Copyright (c) 2020 Vano Devium
Copyright (c) Vano Devium <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Devium\Processes
# Stand With Ukraine 🇺🇦

![Build status](https://img.shields.io/github/actions/workflow/status/vanodevium/processes/test.yaml)
[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct-single.svg)](https://vshymanskyy.github.io/StandWithUkraine/)

---

# devium/processes

![Build status](https://img.shields.io/github/actions/workflow/status/vanodevium/processes/ci.yaml)
![Latest Version](https://img.shields.io/packagist/v/devium/processes)
![License](https://img.shields.io/packagist/l/devium/processes)
![Downloads](https://img.shields.io/packagist/dt/devium/processes)
Expand Down Expand Up @@ -36,6 +42,7 @@ $newArrayOfProcesses = $processes->rescan()->get();
## Structure of processes array

#### For windows

```json
{
"PID": {
Expand All @@ -47,6 +54,7 @@ $newArrayOfProcesses = $processes->rescan()->get();
```

#### For unix-like systems

```json
{
"PID": {
Expand All @@ -62,10 +70,17 @@ $newArrayOfProcesses = $processes->rescan()->get();
```

## Testing

```sh
composer test
```

## License

The Devium\Processes package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
**devium/processes** is open-sourced software licensed under the [MIT license](./LICENSE.md).

[Vano Devium](https://github.com/vanodevium/)

---

Made with ❤️ in Ukraine
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"require": {
"php": "^7.3|^8.0",
"symfony/process": "^5.0|^6.0"
"symfony/process": "^5.0|^6.0|^7.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit fa49693

Please sign in to comment.