mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
- checkout code is not persistent between jobs
This commit is contained in:
parent
5050174eb1
commit
129339e11f
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
@ -34,6 +34,11 @@ jobs:
|
||||
needs: prepare
|
||||
steps:
|
||||
##########################################################################
|
||||
# CHECKOUT CODE ##########################################################
|
||||
##########################################################################
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
##########################################################################
|
||||
# NEO4J ##################################################################
|
||||
##########################################################################
|
||||
- name: Neo4J | Build `community` image
|
||||
@ -43,7 +48,6 @@ jobs:
|
||||
tags: latest
|
||||
path: neo4j/
|
||||
push: false
|
||||
|
||||
##########################################################################
|
||||
# BUILD BACKEND DOCKER IMAGE (build) #####################################
|
||||
##########################################################################
|
||||
@ -55,7 +59,6 @@ jobs:
|
||||
target: build
|
||||
path: backend/
|
||||
push: false
|
||||
|
||||
##########################################################################
|
||||
# BUILD WEBAPP DOCKER IMAGE (build) ######################################
|
||||
##########################################################################
|
||||
@ -74,9 +77,14 @@ jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
needs: build_test
|
||||
needs: prepare
|
||||
steps:
|
||||
##########################################################################
|
||||
# CHECKOUT CODE ##########################################################
|
||||
##########################################################################
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
##########################################################################
|
||||
# LINT BACKEND ###########################################################
|
||||
##########################################################################
|
||||
- name: backend | Lint
|
||||
@ -93,9 +101,14 @@ jobs:
|
||||
unit_tests:
|
||||
name: Unit Tests
|
||||
runs-on: ubuntu-latest
|
||||
needs: build_test
|
||||
needs: prepare
|
||||
steps:
|
||||
##########################################################################
|
||||
# CHECKOUT CODE ##########################################################
|
||||
##########################################################################
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
##########################################################################
|
||||
# UNIT TESTS BACKEND #####################################################
|
||||
##########################################################################
|
||||
- name: backend | docker-compose
|
||||
@ -117,6 +130,11 @@ jobs:
|
||||
# runs-on: ubuntu-latest
|
||||
# needs: prepare
|
||||
# steps:
|
||||
##########################################################################
|
||||
# CHECKOUT CODE ##########################################################
|
||||
##########################################################################
|
||||
#- name: Checkout code
|
||||
# uses: actions/checkout@v2
|
||||
##########################################################################
|
||||
# BACKEND ################################################################
|
||||
##########################################################################
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user