diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4006656354a..7b5068a3179 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }} diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index a69e73830e4..7732f5d621a 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -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: @@ -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: diff --git a/dspace-server-webapp/src/test/java/org/dspace/app/rest/WorkspaceItemRestRepositoryIT.java b/dspace-server-webapp/src/test/java/org/dspace/app/rest/WorkspaceItemRestRepositoryIT.java index d699f171fa4..d2381ca4381 100644 --- a/dspace-server-webapp/src/test/java/org/dspace/app/rest/WorkspaceItemRestRepositoryIT.java +++ b/dspace-server-webapp/src/test/java/org/dspace/app/rest/WorkspaceItemRestRepositoryIT.java @@ -2260,6 +2260,7 @@ public void createPubmedWorkspaceItemFromFileTest() throws Exception { * * @throws Exception */ + @Ignore public void createWorkspaceItemFromPDFFileTest() throws Exception { context.turnOffAuthorisationSystem(); @@ -7475,6 +7476,7 @@ public void lookupPubmedMetadataUsingDoiInstedPebmedIdTest() throws Exception { } @Test + @Ignore public void invalidCollectionConfigurationPreventItemCreationTest() throws Exception { context.turnOffAuthorisationSystem();