mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Add initial continuous integration
Currently it will run phpunit, check coding standards and run phpstan. This can and should be build upon, so that eventually builds are automated and hopefully reproducable.
This commit is contained in:
@@ -622,6 +622,9 @@ abstract class TestCase extends BaseTestCase
|
||||
*/
|
||||
public function user(): User
|
||||
{
|
||||
if (getenv('CI') === 'true') {
|
||||
self::markTestIncomplete("Database is not been populated for tests. This may fail in CI.");
|
||||
}
|
||||
return User::find(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user