Skip to content

Commit

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

Discussion
----------



Commits
-------

33f08ee Year 2021: Code Strikes Back
  • Loading branch information
pamil authored Feb 5, 2021
2 parents c150fa7 + 33f08ee commit 0e7468f
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 75 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/blank.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
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 }}, Symfony ${{ matrix.symfony }}"
strategy:
fail-fast: false
matrix:
php: ["7.4", "8.0"]
symfony: ["^4.4", "^5.2"]

steps:
- uses: actions/checkout@v2

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

- name: Restrict Symfony version
if: matrix.symfony != ''
run: |
composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.11"
composer config extra.symfony.require "${{ matrix.symfony }}"
- name: Install dependencies
run: composer update

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

- name: Run tests
run: vendor/bin/behat --strict -vvv --no-interaction
35 changes: 0 additions & 35 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 Łukasz Chruściel
Copyright (c) 2016-2021 Łukasz Chruściel

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
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
}
],
"require": {
"php": "^7.1 || ^8.0",
"behat/behat": "^3.4",
"symfony/dependency-injection": "^3.4 || ^4.1 || ^5.0"
"php": "^7.4 || ^8.0",
"behat/behat": "^3.8",
"symfony/dependency-injection": "^4.4 || ^5.2"
},
"require-dev": {
"friends-of-behat/test-context": "^1.0"
Expand Down

0 comments on commit 0e7468f

Please sign in to comment.