mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
remove unneccessary command
This commit is contained in:
parent
ee8bc21def
commit
5b47e9e387
53
.github/workflows/test.yml
vendored
53
.github/workflows/test.yml
vendored
@ -267,6 +267,59 @@ jobs:
|
||||
min_coverage: 8
|
||||
token: ${{ github.token }}
|
||||
|
||||
##############################################################################
|
||||
# JOB: UNIT TEST COMMUNITY-SERVER ###########################################
|
||||
##############################################################################
|
||||
unit_test_community_server:
|
||||
name: Unit tests - Community Server
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build_test_community_server]
|
||||
services:
|
||||
nginx:
|
||||
image: gradido/nginx:latest
|
||||
ports:
|
||||
- 80:80
|
||||
mariadb:
|
||||
image: gradido/mariadb:test
|
||||
env:
|
||||
MARIADB_ALLOW_EMPTY_PASSWORD: 1
|
||||
MARIADB_USER: root
|
||||
ports:
|
||||
- 3306:3306
|
||||
volumes:
|
||||
- db_vol:/var/lib/mysql
|
||||
login-server:
|
||||
image: gradido/login-server:latest
|
||||
ports:
|
||||
- 1200:1200
|
||||
- 1201:1201
|
||||
volumes:
|
||||
- ./configs/login_server:/etc/grd_login
|
||||
steps:
|
||||
##########################################################################
|
||||
# CHECKOUT CODE ##########################################################
|
||||
##########################################################################
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
##########################################################################
|
||||
# DOWNLOAD DOCKER IMAGE ##################################################
|
||||
##########################################################################
|
||||
- name: Download Docker Image (Community-Server)
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: docker-community-server-test
|
||||
path: /tmp
|
||||
- name: Load Docker Image
|
||||
run: docker load < /tmp/community_server.tar
|
||||
##########################################################################
|
||||
# UNIT TESTS BACKEND COMMUNITY-SERVER #######################################
|
||||
##########################################################################
|
||||
- name: Login-Server | Unit tests
|
||||
run: |
|
||||
docker run -v ~/coverage:/code/build/coverage -v ./configs/login_server/Gradido_LoginServer_Test.properties:/code/build/Gradido_LoginServer_Test.properties gradido/login_server:test --entrypoint
|
||||
cp -r ~/coverage ./coverage
|
||||
|
||||
|
||||
#test:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
|
||||
@ -32,8 +32,7 @@ RUN apk add --no-cache bash perl
|
||||
|
||||
RUN mkdir build && cd build && \
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug .. && \
|
||||
make -j$(nproc) Gradido_LoginServer_Test && \
|
||||
du -d2 -h
|
||||
make -j$(nproc) Gradido_LoginServer_Test
|
||||
#RUN chmod +x build/bin/Gradido_LoginServer_Test
|
||||
#CMD [ "./build/bin/Gradido_LoginServer" ]
|
||||
#ENTRYPOINT [ "/usr/bin/make", "-C", "/code/build", "coverage" ]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user