Use label to identify pods belonging to the Frappe deployment #158
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 Pull Request | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build_bench: | |
| name: Test Pull Request | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install pre-commit | |
| run: pip install pre-commit | |
| - uses: pre-commit/[email protected] | |
| with: | |
| extra_args: --all-files | |
| - name: Run Tests | |
| run: | | |
| helm lint erpnext | |
| docker compose -p frappe-helm -f tests/compose.yaml run tests |