Skip to content

Commit

Permalink
Update documentation with testing
Browse files Browse the repository at this point in the history
  • Loading branch information
lincmba committed Nov 2, 2023
1 parent dafd578 commit 4b2d4cf
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 13 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:
distribution: 'temurin'
java-version: 11

- name: Change working directory to 'efsity'
run: cd efsity

- name: Run Unit tests
run: ./gradlew test
working-directory: efsity
Expand All @@ -39,8 +36,6 @@ jobs:
distribution: 'temurin'
java-version: 11

- name: Change working directory to 'efsity'
run: cd efsity

- name: Run spotless check
run: ./gradlew spotlessApply
run: ./gradlew spotlessApply
working-directory: efsity
3 changes: 1 addition & 2 deletions cleaner/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ click==8.1.3
oauthlib==3.2.2
requests==2.31.0
requests-oauthlib==1.3.1
urllib3==2.0.3
pytest==7.4.2
urllib3==2.0.3
13 changes: 13 additions & 0 deletions efsity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,4 +219,17 @@ SonatypePassword=<your sonatype password>

```console
./gradlew clean publishMavenPublicationToMavenLocal
```

### Testing
To run all tests:

```console
./gradlew test
```
To run some tests
```console
./gradlew test --test <fully qualified name glob>
#example
./gradlew test --test com.example.TestClassName.testMethodName
```
2 changes: 1 addition & 1 deletion efsity/src/test/resources/merged_questionnaire.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@
"required": false
}
]
}
}
2 changes: 1 addition & 1 deletion efsity/src/test/resources/raw_questionnaire.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@
"required": false
}
]
}
}
3 changes: 1 addition & 2 deletions importer/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ oauthlib==3.2.2
requests==2.31.0
requests-oauthlib==1.3.1
urllib3==2.0.3
backoff==2.2.1
pytest==7.4.2
backoff==2.2.1

0 comments on commit 4b2d4cf

Please sign in to comment.