diff --git a/.github/workflows/diff.yaml b/.github/workflows/diff.yaml index 14cd53c01..f2964f27b 100644 --- a/.github/workflows/diff.yaml +++ b/.github/workflows/diff.yaml @@ -48,32 +48,6 @@ jobs: cd build ctest -R memgraph__unit --output-on-failure -j$THREADS - - name: Run stress test - run: | - cd tests/stress - ./continuous_integration - - - name: Create community DEB package - run: | - # Activate toolchain. - source /opt/toolchain-v3/activate - - cd build - - # create mgconsole - # we use the -B to force the build - make -j$THREADS -B mgconsole - - # Create community DEB package. - mkdir output && cd output - cpack -G DEB --config ../CPackConfig.cmake - - - name: Save community DEB package - uses: actions/upload-artifact@v2 - with: - name: "Community DEB package" - path: build/output/memgraph*.deb - code_analysis: name: "Code analysis" runs-on: [self-hosted, Linux, X64, Diff] @@ -258,6 +232,15 @@ jobs: tests/gql_behave/gql_behave_status.csv tests/gql_behave/gql_behave_status.html + - name: Run unit tests + run: | + # Activate toolchain. + source /opt/toolchain-v3/activate + + # Run unit tests. + cd build + ctest -R memgraph__unit --output-on-failure -j$THREADS + - name: Run e2e tests run: | # TODO(gitbuda): Setup mgclient and pymgclient properly. diff --git a/.github/workflows/release_centos8.yaml b/.github/workflows/release_centos8.yaml index d5651f8fe..cd84592eb 100644 --- a/.github/workflows/release_centos8.yaml +++ b/.github/workflows/release_centos8.yaml @@ -36,28 +36,6 @@ jobs: cmake -DCMAKE_BUILD_TYPE=release -DMG_ENTERPRISE=OFF .. make -j$THREADS - - name: Create community RPM package - run: | - # Activate toolchain. - source /opt/toolchain-v3/activate - - cd build - - # create mgconsole - # we use the -B to force the build - make -j$THREADS -B mgconsole - - # Create community RPM package. - mkdir output && cd output - cpack -G RPM --config ../CPackConfig.cmake - rpmlint memgraph*.rpm - - - name: Save community RPM package - uses: actions/upload-artifact@v2 - with: - name: "Community RPM package" - path: build/output/memgraph*.rpm - - name: Run unit tests run: | # Activate toolchain. @@ -67,16 +45,6 @@ jobs: cd build ctest -R memgraph__unit --output-on-failure - - name: Run stress test (plain) - run: | - cd tests/stress - ./continuous_integration - - - name: Run stress test (large) - run: | - cd tests/stress - ./continuous_integration --large-dataset - coverage_build: name: "Coverage build" runs-on: [self-hosted, Linux, X64, CentOS8] @@ -301,6 +269,15 @@ jobs: tests/gql_behave/gql_behave_status.csv tests/gql_behave/gql_behave_status.html + - name: Run unit tests + run: | + # Activate toolchain. + source /opt/toolchain-v3/activate + + # Run unit tests. + cd build + ctest -R memgraph__unit --output-on-failure + - name: Run e2e tests run: | # TODO(gitbuda): Setup mgclient and pymgclient properly. diff --git a/.github/workflows/release_debian10.yaml b/.github/workflows/release_debian10.yaml index 3c54c9a93..bc5672ef2 100644 --- a/.github/workflows/release_debian10.yaml +++ b/.github/workflows/release_debian10.yaml @@ -36,27 +36,6 @@ jobs: cmake -DCMAKE_BUILD_TYPE=release -DMG_ENTERPRISE=OFF .. make -j$THREADS - - name: Create community DEB package - run: | - # Activate toolchain. - source /opt/toolchain-v3/activate - - cd build - - # create mgconsole - # we use the -B to force the build - make -j$THREADS -B mgconsole - - # Create community DEB package. - mkdir output && cd output - cpack -G DEB --config ../CPackConfig.cmake - - - name: Save community DEB package - uses: actions/upload-artifact@v2 - with: - name: "Community DEB package" - path: build/output/memgraph*.deb - - name: Run unit tests run: | # Activate toolchain. @@ -66,16 +45,6 @@ jobs: cd build ctest -R memgraph__unit --output-on-failure - - name: Run stress test (plain) - run: | - cd tests/stress - ./continuous_integration - - - name: Run stress test (large) - run: | - cd tests/stress - ./continuous_integration --large-dataset - coverage_build: name: "Coverage build" runs-on: [self-hosted, Linux, X64, Debian10] @@ -299,6 +268,15 @@ jobs: tests/gql_behave/gql_behave_status.csv tests/gql_behave/gql_behave_status.html + - name: Run unit tests + run: | + # Activate toolchain. + source /opt/toolchain-v3/activate + + # Run unit tests. + cd build + ctest -R memgraph__unit --output-on-failure + - name: Run e2e tests run: | # TODO(gitbuda): Setup mgclient and pymgclient properly. diff --git a/.github/workflows/release_ubuntu2004.yaml b/.github/workflows/release_ubuntu2004.yaml index d402a77f3..b31a691ea 100644 --- a/.github/workflows/release_ubuntu2004.yaml +++ b/.github/workflows/release_ubuntu2004.yaml @@ -36,27 +36,6 @@ jobs: cmake -DCMAKE_BUILD_TYPE=release -DMG_ENTERPRISE=OFF .. make -j$THREADS - - name: Create community DEB package - run: | - # Activate toolchain. - source /opt/toolchain-v3/activate - - cd build - - # create mgconsole - # we use the -B to force the build - make -j$THREADS -B mgconsole - - # Create community DEB package. - mkdir output && cd output - cpack -G DEB --config ../CPackConfig.cmake - - - name: Save community DEB package - uses: actions/upload-artifact@v2 - with: - name: "Community DEB package" - path: build/output/memgraph*.deb - - name: Run unit tests run: | # Activate toolchain. @@ -66,16 +45,6 @@ jobs: cd build ctest -R memgraph__unit --output-on-failure - - name: Run stress test (plain) - run: | - cd tests/stress - ./continuous_integration - - - name: Run stress test (large) - run: | - cd tests/stress - ./continuous_integration --large-dataset - coverage_build: name: "Coverage build" runs-on: [self-hosted, Linux, X64, Ubuntu20.04] @@ -299,6 +268,15 @@ jobs: tests/gql_behave/gql_behave_status.csv tests/gql_behave/gql_behave_status.html + - name: Run unit tests + run: | + # Activate toolchain. + source /opt/toolchain-v3/activate + + # Run unit tests. + cd build + ctest -R memgraph__unit --output-on-failure + - name: Run e2e tests run: | # TODO(gitbuda): Setup mgclient and pymgclient properly.