Skip to content

Commit

Permalink
try cimg
Browse files Browse the repository at this point in the history
  • Loading branch information
dmehala committed Jul 8, 2024
1 parent 1ac2c95 commit ca72079
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,21 @@ jobs:
file: .coverage/filtered.info
upload_args: --disable-search

# Copy-pasta from dd-trace-java. Thank you <3
system-tests:
parameters:
systemTestsCommit:
type: string
default: main
docker:
- image: cimg/python:3.12.4
machine:
image: ubuntu-2404:2024.05.1
resource_class: large
steps:
- run:
name: Install python 3.12
command: |
sudo apt-get install python3.12-full python3.12-dev python3.12-venv
echo 'export PATH="$HOME/.local/bin:$PATH"' >>"$BASH_ENV"
- run:
name: Clone system-tests
command: |
Expand All @@ -171,8 +177,15 @@ jobs:
git remote add origin https://github.com/DataDog/system-tests.git
git fetch origin << parameters.systemTestsCommit >>
git reset --hard FETCH_HEAD
- setup_remote_docker:
docker_layer_caching: true
- run:
name: Install requirements
command: |
cd system-tests
pyenv local system
python3.12 --version
python3.12 -m pip install wheel
python3.12 -m pip install -r requirements.txt
sudo ln -sf /usr/bin/python3.12 /usr/bin/python
- run:
name: Run Parametric tests
environment:
Expand Down

0 comments on commit ca72079

Please sign in to comment.