refactor, ci: upgrade linting & ci setup #406
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: Test installation | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - v* | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.7 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.7 | |
| - name: Install hatch | |
| run: pip install hatch | |
| - name: Build | |
| run: hatch build | |
| - name: Install | |
| run: pip install dist/*.whl | |
| - name: Test import | |
| run: python -c "import react_ipywidgets; import reacton" |