Skip to content

Commit

Permalink
Merged in task/DSC-1878_temporary-fix (pull request DSpace#2605)
Browse files Browse the repository at this point in the history
Task/DSC-1878 temporary fix

Approved-by: Vincenzo Mecca
  • Loading branch information
abollini authored and atarix83 committed Aug 20, 2024
2 parents ef6d2c4 + 6f88822 commit fa437a2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-

- name: Install Grobid (only IT)
run: ./dspace-api/src/test/data/dspaceFolder/bin/install_grobid.sh
if: matrix.type == 'Integration Tests'
#- name: Install Grobid (only IT)
# run: ./dspace-api/src/test/data/dspaceFolder/bin/install_grobid.sh
# if: matrix.type == 'Integration Tests'

# Run parallel Maven builds based on the above 'strategy.matrix'
- name: Run Maven ${{ matrix.type }}
Expand Down
4 changes: 2 additions & 2 deletions bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ definitions:
- maven
script:
- export MAVEN_OPTS="-Xmx4096M"
- ./dspace-api/src/test/data/dspaceFolder/bin/install_grobid.sh
#- ./dspace-api/src/test/data/dspaceFolder/bin/install_grobid.sh
- mvn clean install -DskipUnitTests=true -Pdspace-rest -DskipITs=true -DskipIntegrationTests=true -P !assembly -B -V
- mvn test -pl dspace-iiif,dspace-oai,dspace-rdf,dspace-rest,dspace-server-webapp,dspace-services,dspace-sword,dspace-swordv2 -Dmaven.test.skip=false -DskipUnitTests=false -Pdspace-rest -DskipITs=false -Pdspace-rest -DskipIntegrationTests=false -B -V -Dsurefire.rerunFailingTestsCount=2 -Dtest.argLine=-Xmx4096M -DfailIfNoTests=false -Dtest=*IT,!Abstract*,!ItemImportIT,!GenericAuthorizationFeatureIT,!ItemRestRepositoryIT,!LeftTiltedRelationshipRestRepositoryIT,!RelationshipRestRepositoryIT,!StatisticsRestRepositoryIT,!WorkspaceItemRestRepositoryIT,!DiscoveryRestControllerIT,!PatchMetadataIT,!RightTiltedRelationshipRestRepositoryIT
artifacts:
Expand Down Expand Up @@ -76,7 +76,7 @@ definitions:
- maven
script:
- export MAVEN_OPTS="-Xmx4096M"
- ./dspace-api/src/test/data/dspaceFolder/bin/install_grobid.sh
#- ./dspace-api/src/test/data/dspaceFolder/bin/install_grobid.sh
- mvn clean install -DskipUnitTests=true -Pdspace-rest -DskipITs=true -DskipIntegrationTests=true -P !assembly -B -V
- mvn test -Dmaven.test.skip=false -DskipUnitTests=false -Pdspace-rest -DskipITs=false -Pdspace-rest -DskipIntegrationTests=false -B -V -Dsurefire.rerunFailingTestsCount=2 -Dtest.argLine=-Xmx4096M -DfailIfNoTests=false -Dtest=ItemImportIT,GenericAuthorizationFeatureIT,ItemRestRepositoryIT,LeftTiltedRelationshipRestRepositoryIT,RelationshipRestRepositoryIT,StatisticsRestRepositoryIT,WorkspaceItemRestRepositoryIT,DiscoveryRestControllerIT,PatchMetadataIT,RightTiltedRelationshipRestRepositoryIT
artifacts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2260,6 +2260,7 @@ public void createPubmedWorkspaceItemFromFileTest() throws Exception {
*
* @throws Exception
*/
@Ignore
public void createWorkspaceItemFromPDFFileTest() throws Exception {
context.turnOffAuthorisationSystem();

Expand Down Expand Up @@ -7475,6 +7476,7 @@ public void lookupPubmedMetadataUsingDoiInstedPebmedIdTest() throws Exception {
}

@Test
@Ignore
public void invalidCollectionConfigurationPreventItemCreationTest() throws Exception {
context.turnOffAuthorisationSystem();

Expand Down

0 comments on commit fa437a2

Please sign in to comment.