Update exasol_udf_mock_python/mock_context.py #97
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: Check if setup.py is up to date | |
on: [push, pull_request] | |
jobs: | |
check_setup_py: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.8] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: abatilo/[email protected] | |
- name: Run packaging update | |
run: bash githooks/update_setup_py.sh | |
- name: Show changes on working copy | |
run: git status --porcelain=v1 -uno | |
- name: Show diff on working copy | |
run: git diff | |
- name: Check if setup.py changed | |
run: | | |
[ -z "$(git status --porcelain=v1 -uno 2>/dev/null)" ] | |
- name: Check if setup.py works | |
run: pip install . |