Skip to content

Automated Latest Dependency Updates #3068

Automated Latest Dependency Updates

Automated Latest Dependency Updates #3068

name: Detect dependency changes
on:
pull_request:
types: [opened, synchronize]
jobs:
check-dependencies-updated:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v1
with:
python-version: '3.8.x'
- name: Install Dependencies
run: |
make installdeps-test
- name: Detect Dependency Changes
id: check
continue-on-error: true
run: |
mkdir /tmp/dependencies_updated_artifacts
export DEPENDENCY_FILE_PATH=/tmp/dependencies_updated_artifacts/current_dependencies.txt
evalml/tests/dependency_update_check/make_deps_diff.sh
diff evalml/tests/dependency_update_check/latest_dependency_versions.txt /tmp/dependencies_updated_artifacts/current_dependencies.txt > /tmp/dependencies_updated_artifacts/diff.txt
- name: Display Dependency Changes
if: steps.check.outcome != 'success'
run: |
echo Displaying dependencies which have changed, with main on the left and the new branch on the right:
cat /tmp/dependencies_updated_artifacts/diff.txt
exit 1