build(config.yml): fix config.yml

This commit is contained in:
Krrish Dholakia 2024-01-19 10:46:24 -08:00
parent a0ac815859
commit 77f8db7050

View file

@ -92,6 +92,11 @@ jobs:
working_directory: ~/project working_directory: ~/project
steps: steps:
- checkout - checkout
- run:
name: Install Docker CLI (In case it's not already installed)
command: |
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io
- run: - run:
name: Install Python 3.9 name: Install Python 3.9
command: | command: |
@ -109,11 +114,6 @@ jobs:
pip install "pytest==7.3.1" pip install "pytest==7.3.1"
pip install "pytest-asyncio==0.21.1" pip install "pytest-asyncio==0.21.1"
# Run pytest and generate JUnit XML report # Run pytest and generate JUnit XML report
- run:
name: Install Docker CLI (In case it's not already installed)
command: |
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io
- run: - run:
name: Build Docker image name: Build Docker image
command: docker build -t my-app:latest -f Dockerfile.database . command: docker build -t my-app:latest -f Dockerfile.database .
@ -156,7 +156,7 @@ jobs:
command: | command: |
pwd pwd
ls ls
python -m pytest -vv tests/ -x --junitxml=test-results/junit.xml --durations=5 python -m pytest -vv /tests/ -x --junitxml=test-results/junit.xml --durations=5
no_output_timeout: 120m no_output_timeout: 120m
# Store test results # Store test results