Skip to content

Commit c8da0bc

Browse files
authored
Merge pull request #103 from nickvergessen/ci/noid/migrate-to-github-action
ci: Replace TravisCI with GitHub Action
2 parents 824f4a2 + 67dd7f5 commit c8da0bc

File tree

4 files changed

+65
-35
lines changed

4 files changed

+65
-35
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ updates:
55
schedule:
66
interval: "weekly"
77
versioning-strategy: widen
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "monthly"

.github/workflows/phpunit.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: PHPUnit
2+
3+
on: pull_request
4+
5+
permissions:
6+
contents: read
7+
8+
concurrency:
9+
group: phpunit-${{ github.head_ref || github.run_id }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
phpunit:
14+
runs-on: ubuntu-latest
15+
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
php-versions: ['8.1', '8.2', '8.3', '8.4']
20+
21+
name: PHP ${{ matrix.php-versions }}
22+
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+
27+
- name: Set up php ${{ matrix.php-versions }}
28+
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
29+
with:
30+
php-version: ${{ matrix.php-versions }}
31+
coverage: none
32+
ini-file: development
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
36+
- name: Set up dependencies
37+
run: composer i
38+
39+
- name: PHPUnit with ZSH
40+
run: SHELL=zsh vendor/bin/phpunit
41+
42+
- name: PHPUnit with BASH
43+
run: SHELL=bash vendor/bin/phpunit
44+
45+
summary:
46+
permissions:
47+
contents: none
48+
runs-on: ubuntu-latest
49+
needs: [phpunit]
50+
51+
if: always()
52+
53+
name: phpunit-summary
54+
55+
steps:
56+
- name: Summary status
57+
run: if ${{ needs.phpunit.result != 'success' }}; then exit 1; fi

.travis.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
# BASH/ZSH auto-complete for Symfony Console applications
22

3-
[![Build Status](https://travis-ci.org/stecman/symfony-console-completion.svg?branch=master)](https://travis-ci.org/stecman/symfony-console-completion)
43
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/stecman/symfony-console-completion/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/stecman/symfony-console-completion/?branch=master)
54

6-
[![Latest Stable Version](https://poser.pugx.org/stecman/symfony-console-completion/v/stable.png)](https://packagist.org/packages/stecman/symfony-console-completion)
7-
[![Total Downloads](https://poser.pugx.org/stecman/symfony-console-completion/downloads.png)](https://packagist.org/packages/stecman/symfony-console-completion)
8-
[![Latest Unstable Version](https://poser.pugx.org/stecman/symfony-console-completion/v/unstable.svg)](https://packagist.org/packages/stecman/symfony-console-completion)
9-
[![License](https://poser.pugx.org/stecman/symfony-console-completion/license.svg)](https://packagist.org/packages/stecman/symfony-console-completion)
5+
[![Latest Stable Version](https://poser.pugx.org/stecman/symfony-console-completion/v)](https://packagist.org/packages/stecman/symfony-console-completion)
6+
[![Total Downloads](https://poser.pugx.org/stecman/symfony-console-completion/downloads)](https://packagist.org/packages/stecman/symfony-console-completion)
7+
[![License](https://poser.pugx.org/stecman/symfony-console-completion/license)](https://packagist.org/packages/stecman/symfony-console-completion)
8+
[![PHP Version Require](https://poser.pugx.org/stecman/symfony-console-completion/require/php)](https://packagist.org/packages/stecman/symfony-console-completion)
109

1110
This package provides automatic (tab) completion in BASH and ZSH for Symfony Console Component based applications. With zero configuration, this package allows completion of available command names and the options they provide. User code can define custom completion behaviour for argument and option values.
1211

0 commit comments

Comments
 (0)