Skip to content

Commit 7a4e44e

Browse files
authored
feature #15 Year 2021: Code Strikes Back (pamil)
This PR was merged into the 1.1-dev branch. Discussion ---------- Commits ------- 87fb4a9 Year 2021: Code Strikes Back
2 parents cd3c45a + 87fb4a9 commit 7a4e44e

File tree

6 files changed

+46
-69
lines changed

6 files changed

+46
-69
lines changed

.github/workflows/blank.yml

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

.github/workflows/build.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Build
2+
3+
on:
4+
push: ~
5+
pull_request: ~
6+
release:
7+
types: [created]
8+
schedule:
9+
-
10+
cron: "0 1 * * 6" # Run at 1am every Saturday
11+
12+
jobs:
13+
tests:
14+
runs-on: ubuntu-20.04
15+
name: "PHP ${{ matrix.php }}"
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
php: ["7.4", "8.0"]
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
24+
- name: Setup PHP
25+
uses: shivammathur/setup-php@v2
26+
with:
27+
php-version: "${{ matrix.php }}"
28+
coverage: none
29+
30+
- name: Install dependencies
31+
run: composer update
32+
33+
- name: Run analysis
34+
run: composer validate --strict
35+
36+
- name: Run tests
37+
run: vendor/bin/behat --strict -vvv --no-interaction

.travis.yml

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

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2016-2017 Kamil Kokot
1+
Copyright (c) 2016-2021 Kamil Kokot
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Suite Settings Extension [![License](https://img.shields.io/packagist/l/friends-of-behat/suite-settings-extension.svg)](https://packagist.org/packages/friends-of-behat/suite-settings-extension) [![Version](https://img.shields.io/packagist/v/friends-of-behat/suite-settings-extension.svg)](https://packagist.org/packages/friends-of-behat/suite-settings-extension) [![Build status on Linux](https://img.shields.io/travis/FriendsOfBehat/SuiteSettingsExtension/master.svg)](http://travis-ci.org/FriendsOfBehat/SuiteSettingsExtension) [![Scrutinizer Quality Score](https://img.shields.io/scrutinizer/g/FriendsOfBehat/SuiteSettingsExtension.svg)](https://scrutinizer-ci.com/g/FriendsOfBehat/SuiteSettingsExtension/)
22

3-
Allows to overwrite suites' default settings.
3+
Allows overwriting suites' default settings.
44

55
## Usage
66

77
1. Install it:
88

99
```bash
10-
$ composer require friends-of-behat/suite-settings-extension --dev
10+
composer require friends-of-behat/suite-settings-extension --dev
1111
```
1212

1313
2. Enable and configure default suite settings in your Behat configuration:

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,19 @@
66
{
77
"name": "Kamil Kokot",
88
"email": "[email protected]",
9-
"homepage": "http://kamil.kokot.me"
9+
"homepage": "https://kamilkokot.com"
1010
}
1111
],
1212
"require": {
13-
"php": "^7.1",
14-
15-
"behat/behat": "^3.1"
13+
"php": "^7.4 || ^8.0",
14+
"behat/behat": "^3.8"
1615
},
1716
"require-dev": {
1817
"friends-of-behat/test-context": "^1.0"
1918
},
2019
"autoload": {
21-
"psr-4": { "FriendsOfBehat\\SuiteSettingsExtension\\": "src/" }
20+
"psr-4": {
21+
"FriendsOfBehat\\SuiteSettingsExtension\\": "src/"
22+
}
2223
}
2324
}

0 commit comments

Comments
 (0)