-
Notifications
You must be signed in to change notification settings - Fork 7
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 #9 from 2amjsouza/master
Support php 8.2
- Loading branch information
Showing
11 changed files
with
45 additions
and
44 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: tests | ||
on: [push] | ||
|
||
jobs: | ||
test: | ||
name: PHPUnit | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: setup enviroment | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '8.1' | ||
|
||
- name: Install dependencies | ||
run: composer install | ||
|
||
- name: Run unit tests | ||
run: ./vendor/bin/phpunit --coverage-clover ./tests/_output/coverage.xml | ||
|
||
#- name: Upload coverage reports to Codacy | ||
# uses: codacy/codacy-coverage-reporter-action@v1 | ||
# with: | ||
# project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | ||
# coverage-reports: ./tests/_output/coverage.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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,3 +55,4 @@ codeception.yml | |
|
||
# composer.lock | ||
composer.lock | ||
/xdebug |
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 @@ | ||
{"version":1,"defects":{"Da\\TwoFA\\Tests\\ServicesTest::testQrCodeDataUriGeneratorService":3,"Da\\TwoFA\\Tests\\ServicesTest::testTOTPSecretKeyUriGeneratorService":1},"times":{"Da\\TwoFA\\Tests\\EncoderTest::testDecodesBase32Strings":0.016,"Da\\TwoFA\\Tests\\EncoderTest::testConvertsInvalidCharsToBase32":0.002,"Da\\TwoFA\\Tests\\EncoderTest::testConvertsToBase32":0.001,"Da\\TwoFA\\Tests\\EncoderTest::testDecodesBase32":0.001,"Da\\TwoFA\\Tests\\EncoderTest::testExceptionWhenIncompatibleGoogleKeyIsGivenToDecodeBase32String":0.005,"Da\\TwoFA\\Tests\\ManagerTest::testIsInitialized":0.002,"Da\\TwoFA\\Tests\\ManagerTest::testGeneratesAValidSecretKey":0.003,"Da\\TwoFA\\Tests\\ManagerTest::testGeneratesAGoogleCompatibleSecretKey":0.001,"Da\\TwoFA\\Tests\\ManagerTest::testCreatesAOneTimePassword":0.001,"Da\\TwoFA\\Tests\\ManagerTest::testVerifiesKeys":0.006,"Da\\TwoFA\\Tests\\ManagerTest::testItVerifiesNewerKeys":0.004,"Da\\TwoFA\\Tests\\ManagerTest::testAttributes":0.001,"Da\\TwoFA\\Tests\\ManagerTest::testInvalidCharactersException":0.002,"Da\\TwoFA\\Tests\\ManagerTest::testFiresInvalidSecretKeyException":0.001,"Da\\TwoFA\\Tests\\ServicesTest::testGoogleQrCodeUrlGeneratorService":0.003,"Da\\TwoFA\\Tests\\ServicesTest::testQrCodeDataUriGeneratorService":1.49,"Da\\TwoFA\\Tests\\ServicesTest::testTOTPSecretKeyUriGeneratorService":0.001}} |
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
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
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
Large diffs are not rendered by default.
Oops, something went wrong.