Merge pull request #11 from supathdhitalGEO/main #26
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
| #For the development and code testing | |
| name: Package Build and Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| release-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Install Poetry | |
| run: | | |
| pip install poetry | |
| - name: Install Dependencies (Development Mode) | |
| run: | | |
| poetry install --no-root | |
| - name: Install Black | |
| run: | | |
| pip install black | |
| - name: Check Formatting (Optional) | |
| run: | | |
| black . | |
| - name: Verify Build | |
| run: | | |
| poetry build |