Skip to content

Commit

Permalink
Replace ddev with pytest in experimental workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dkirov-dd committed Dec 20, 2024
1 parent 7eae96f commit 15861d6
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions .github/workflows/experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,34 +177,10 @@ jobs:
echo "PATH=$(pwd)/python_dir:$PATH" >> $GITHUB_ENV
fi
- name: Install pip
- name: Install pip and pytest
run: |
python -m ensurepip
- name: Restore cache
uses: actions/cache/restore@v4
with:
path: ${{ runner.os == 'Windows' && '~\AppData\Local\pip\Cache' || '~/.cache/pip' }}
key: >-
${{ format(
'v01-python-{0}-{1}-{2}-{3}',
env.pythonLocation,
hashFiles('datadog_checks_base/pyproject.toml'),
hashFiles('datadog_checks_dev/pyproject.toml'),
hashFiles('ddev/pyproject.toml')
)}}
restore-keys: |-
v01-python-${{ env.pythonLocation }}
- name: Install ddev from local folder
run: |
python.exe -m pip install -e ./datadog_checks_dev[cli]
python.exe -m pip install -e ./ddev
- name: Configure ddev
run: |
ddev config set repos.core .
ddev config set repo core
pip install pytest
- name: Test
if: runner.os == 'Windows'
Expand Down

0 comments on commit 15861d6

Please sign in to comment.