Skip to content

Commit

Permalink
Merge pull request #22 from luyadev/issue-21
Browse files Browse the repository at this point in the history
new migrations
  • Loading branch information
nadar authored Apr 7, 2021
2 parents 5cfff46 + f8aa8e2 commit 7e167d5
Show file tree
Hide file tree
Showing 15 changed files with 203 additions and 3,248 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: Tests
on: [push, pull_request]

env:
DEFAULT_COMPOSER_FLAGS: "--prefer-dist --no-interaction --ignore-platform-reqs"
PHPUNIT_EXCLUDE_GROUP: mssql,oci,wincache,xcache,zenddata,cubrid
DEFAULT_COMPOSER_FLAGS: "--prefer-dist --no-interaction"
CC_TEST_REPORTER_ID: 5a1ae21836b6ee5e5244714dbc38494d1aff20243cfc83320f92d77dfc994950
jobs:
phpunit:
Expand All @@ -14,7 +13,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: ['7.1', '7.2', '7.3', '7.4']
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0']

steps:
## checkout the repoistory
Expand All @@ -36,7 +35,7 @@ jobs:
## run unit tests
- name: PHP Unit tests for PHP
run: vendor/bin/phpunit --verbose --configuration actions.phpunit.xml
if: matrix.php == '7.4' || matrix.php == '7.3' || matrix.php == '7.2' || matrix.php == '7.0'
if: matrix.php == '8.0' || matrix.php == '7.4' || matrix.php == '7.3' || matrix.php == '7.2' || matrix.php == '7.0'

## unit test with coverage
- name: PHP Unit tests for PHP 7.1
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
/.settings/
/.buildpath
/phpunit.xml
/.php_cs_cache
/composer.lock
1 change: 0 additions & 1 deletion .php_cs.cache

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
In order to read more about upgrading and BC breaks have a look at the [UPGRADE Document](UPGRADE.md).

## 3.0.0 ()

> This release contains new migrations and requires to run the migrate command after updating. Check the [UPGRADE document](UPGRADE.md) to read more about breaking changes.
+ [#21](https://github.com/luyadev/luya-module-news/issues/21) New fields for author and a link, therfore this contains a new migration.

## 2.0.6 (25. March 2021)

+ [#20](https://github.com/luyadev/luya-module-news/pull/20) Added Bulgarian translations
Expand Down
4 changes: 4 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# LUYA News Module Upgrade

## from 2.0 to 3.0 ()

+ New migrations must be applied with the `migrate` command.

## from 1.0 to 2.0 (1. July 2019)

+ **The information of future news article visibility is lost after the upgrade! Those articles must be scheduled again!**
Expand Down
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,14 @@
"luyadev/luya-module-admin" : ">=2.0"
},
"require-dev" : {
"luyadev/luya-testsuite" : "^1.0"
"luyadev/luya-testsuite" : "^2.0"
},
"autoload" : {
"psr-4" : {
"luya\\news\\" : "src/"
}
},
"config": {
"platform": {
"php": "7.2"
},
"fxp-asset": {
"enabled": false
}
Expand Down
Loading

0 comments on commit 7e167d5

Please sign in to comment.