#1286: Updated Bazel in Python 3.10 Conda flavor (#577) (#1287) #503
This file contains hidden or 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: Check package diff tool | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| check_package_diff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| submodules: 'recursive' | |
| - name: Setup Python & Poetry Environment | |
| uses: exasol/python-toolbox/.github/actions/python-environment@v1 | |
| with: | |
| python-version: "3.10" | |
| poetry-version: '2.1.2' | |
| - name: Setup Poetry | |
| run: | | |
| PYTHON_BIN=$(command -v "python3.10") | |
| poetry env use "$PYTHON_BIN" | |
| poetry install | |
| poetry_env_path=$(poetry env info --path) | |
| echo "poetry_env_path=$poetry_env_path" >> $GITHUB_ENV | |
| working-directory: scripts/generate_package_diffs_for_flavors | |
| - name: Run generate_package_diffs_for_flavors | |
| run: | | |
| source "${{ env.poetry_env_path }}/bin/activate" | |
| python3 scripts/generate_package_diffs_for_flavors/generate_package_diffs_for_flavors.py --output-directory /tmp/output --current-working-copy-name test | |
| - name: Check if package diff have changed | |
| run: | | |
| [ -z "$(git status --porcelain=v1 -uno 2>/dev/null)" ] |