Skip to content

Commit

Permalink
feature #15 Year 2021: Code Strikes Back (pamil)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.1-dev branch.

Discussion
----------



Commits
-------

87fb4a9 Year 2021: Code Strikes Back
  • Loading branch information
pamil authored Feb 5, 2021
2 parents cd3c45a + 87fb4a9 commit 7a4e44e
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 69 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/blank.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build

on:
push: ~
pull_request: ~
release:
types: [created]
schedule:
-
cron: "0 1 * * 6" # Run at 1am every Saturday

jobs:
tests:
runs-on: ubuntu-20.04
name: "PHP ${{ matrix.php }}"
strategy:
fail-fast: false
matrix:
php: ["7.4", "8.0"]

steps:
- uses: actions/checkout@v2

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

- name: Install dependencies
run: composer update

- name: Run analysis
run: composer validate --strict

- name: Run tests
run: vendor/bin/behat --strict -vvv --no-interaction
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016-2017 Kamil Kokot
Copyright (c) 2016-2021 Kamil Kokot

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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# 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/)

Allows to overwrite suites' default settings.
Allows overwriting suites' default settings.

## Usage

1. Install it:

```bash
$ composer require friends-of-behat/suite-settings-extension --dev
composer require friends-of-behat/suite-settings-extension --dev
```

2. Enable and configure default suite settings in your Behat configuration:
Expand Down
11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@
{
"name": "Kamil Kokot",
"email": "[email protected]",
"homepage": "http://kamil.kokot.me"
"homepage": "https://kamilkokot.com"
}
],
"require": {
"php": "^7.1",

"behat/behat": "^3.1"
"php": "^7.4 || ^8.0",
"behat/behat": "^3.8"
},
"require-dev": {
"friends-of-behat/test-context": "^1.0"
},
"autoload": {
"psr-4": { "FriendsOfBehat\\SuiteSettingsExtension\\": "src/" }
"psr-4": {
"FriendsOfBehat\\SuiteSettingsExtension\\": "src/"
}
}
}

0 comments on commit 7a4e44e

Please sign in to comment.