Compare commits
	
		
			1 Commits
		
	
	
		
			e5a1af09cf
			...
			1449df78c2
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 1449df78c2 | 
| @@ -19,8 +19,14 @@ jobs: | |||||||
|       run: | |       run: | | ||||||
|         apt-get update && apt-get install -y python3 python3-pip |         apt-get update && apt-get install -y python3 python3-pip | ||||||
|         pip install pipenv |         pip install pipenv | ||||||
|  |  | ||||||
|  |     - name: Install packages | ||||||
|  |       run: | | ||||||
|  |         ls -la | ||||||
|         # only install dev-packages |         # only install dev-packages | ||||||
|         pipenv install --categories=dev-packages |         pipenv install --categories=dev-packages | ||||||
|  |         pipenv run pip freeze | ||||||
|  |  | ||||||
|       working-directory: backend |       working-directory: backend | ||||||
|  |  | ||||||
|     - name: Run linter |     - name: Run linter | ||||||
|   | |||||||
| @@ -5,7 +5,7 @@ on: | |||||||
|     paths: |     paths: | ||||||
|       - backend/** |       - backend/** | ||||||
|  |  | ||||||
| name: Run linting on the backend code | name: Run testing on the backend code | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   build: |   build: | ||||||
| @@ -19,10 +19,15 @@ jobs: | |||||||
|       run: | |       run: | | ||||||
|         apt-get update && apt-get install -y python3 python3-pip |         apt-get update && apt-get install -y python3 python3-pip | ||||||
|         pip install pipenv |         pip install pipenv | ||||||
|  |  | ||||||
|  |     - name: Install packages | ||||||
|  |       run: | | ||||||
|  |         ls -la | ||||||
|         # install all packages, including dev-packages |         # install all packages, including dev-packages | ||||||
|         pipenv install --dev |         pipenv install --dev | ||||||
|  |         pipenv run pip freeze | ||||||
|       working-directory: backend |       working-directory: backend | ||||||
|  |  | ||||||
|     - name: Run linter |     - name: Run Tests | ||||||
|       run: pipenv run pytest src |       run: pipenv run pytest src | ||||||
|       working-directory: backend |       working-directory: backend | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user