Automated Latest Dependency Updates #3223
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |