forked from phoenix/litellm-mirror
build(config.yml): fix config.yml
This commit is contained in:
parent
a0ac815859
commit
77f8db7050
1 changed files with 16 additions and 16 deletions
|
@ -93,27 +93,27 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: Install Python 3.9
|
name: Install Docker CLI (In case it's not already installed)
|
||||||
command: |
|
command: |
|
||||||
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh --output miniconda.sh
|
sudo apt-get update
|
||||||
bash miniconda.sh -b -p $HOME/miniconda
|
sudo apt-get install -y docker-ce docker-ce-cli containerd.io
|
||||||
export PATH="$HOME/miniconda/bin:$PATH"
|
- run:
|
||||||
conda init bash
|
name: Install Python 3.9
|
||||||
source ~/.bashrc
|
command: |
|
||||||
conda create -n myenv python=3.9 -y
|
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh --output miniconda.sh
|
||||||
conda activate myenv
|
bash miniconda.sh -b -p $HOME/miniconda
|
||||||
python --version
|
export PATH="$HOME/miniconda/bin:$PATH"
|
||||||
|
conda init bash
|
||||||
|
source ~/.bashrc
|
||||||
|
conda create -n myenv python=3.9 -y
|
||||||
|
conda activate myenv
|
||||||
|
python --version
|
||||||
- run:
|
- run:
|
||||||
name: Install Dependencies
|
name: Install Dependencies
|
||||||
command: |
|
command: |
|
||||||
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue