mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 19:36:25 +08:00
CI: Print the working directory before running the tests
The test data doesn't seem to be picked up.
This commit is contained in:
@ -11,6 +11,9 @@ jobs:
|
||||
- run:
|
||||
name: SSH Problem
|
||||
command: echo 'Host *\n StrictHostKeyChecking no' > ~/.ssh/config
|
||||
- run:
|
||||
name: Current Directory
|
||||
command: pwd
|
||||
- run:
|
||||
name: Test
|
||||
command: flutter test -j 1 --coverage --machine | tojunit --output junit.xml
|
||||
|
@ -8,6 +8,7 @@ import 'package:gitjournal/apis/github.dart';
|
||||
|
||||
void main() {
|
||||
test('Parse json', () async {
|
||||
print("Current Dir: ${Directory.current}");
|
||||
var jsonString = File('test/apis/data/github.json').readAsStringSync();
|
||||
|
||||
var api = GitHub();
|
||||
|
@ -8,6 +8,7 @@ import 'package:gitjournal/apis/gitlab.dart';
|
||||
|
||||
void main() {
|
||||
test('Parse json', () async {
|
||||
print("Current Dir: ${Directory.current}");
|
||||
var jsonString = File('test/apis/data/gitlab.json').readAsStringSync();
|
||||
|
||||
var api = GitLab();
|
||||
|
Reference in New Issue
Block a user