-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from antistatique/feature/ci-tests-runner
- Loading branch information
Showing
13 changed files
with
88 additions
and
5,498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
service_name: travis-ci | ||
service_name: github-actions | ||
|
||
# for php-coveralls | ||
coverage_clover: build/logs/clover.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Tests | ||
on: | ||
push: | ||
schedule: | ||
- cron: "0 0 * * THU" | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
php-versions: ['7.4', '8.0', '8.1'] | ||
steps: | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
tools: composer:v2 | ||
- uses: actions/checkout@v2 | ||
- uses: php-actions/composer@v6 | ||
with: | ||
php_version: ${{ matrix.php-versions }} | ||
version: 2 | ||
- run: XDEBUG_MODE=coverage ./vendor/bin/phpunit | ||
- name: Upload coverage results to Coveralls | ||
env: | ||
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
composer global require php-coveralls/php-coveralls | ||
php-coveralls --coverage_clover=build/logs/clover.xml -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.env | ||
/vendor | ||
composer.lock | ||
.phpunit.result.cache | ||
|
||
# Ignore file generated by MacOS | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,28 @@ | ||
CHANGELOG | ||
--------- | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
## 0.0.1-alpha (2020-06-12) | ||
- allow conversion of GPS (WGS84) coordinates from/to CH1903/LV03 (MN03) | ||
- allow conversion of GPS (WGS84) coordinates from/to CH1995/LV95 (MN95) | ||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## 0.0.0 (2020-06-12) | ||
- under heavy development | ||
## [Unreleased] | ||
### Changed | ||
- update changelog following 'keep a changelog' format | ||
- run code-styles Github Actions on PHP 8.1 | ||
- update symfony checker to use new symfonycorp/security-checker-action | ||
- use assertion with Delta on PHPUnit float values | ||
|
||
### Added | ||
- add run of tests on Github Actions | ||
- add coverage to coveralls | ||
|
||
### Removed | ||
- remove Travis integration for tests | ||
- remove StyleCI integration | ||
|
||
## [0.0.1-alpha] - 2020-06-12 | ||
### Added | ||
- allow conversion of GPS (WGS84) coordinates from/to CH1903/LV03 (MN03) | ||
- allow conversion of GPS (WGS84) coordinates from/to CH1995/LV95 (MN95) | ||
|
||
[Unreleased]: https://github.com/antistatique/swisstopo/compare/0.0.1-alpha...HEAD | ||
[0.0.1-alpha]: https://github.com/antistatique/swisstopo/releases/tag/0.0.1-alpha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.