Launch test #16708
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: PyFunceble CI tests | |
| on: | |
| push: | |
| branches: | |
| - "master" | |
| pull_request: | |
| branches: | |
| - "master" | |
| workflow_dispatch: {} | |
| env: | |
| PYFUNCEBLE_AUTO_CONFIGURATION: "YES" | |
| GIT_NAME: "${{ secrets.GIT_BOT_NAME }}" | |
| GIT_EMAIL: "${{ secrets.GIT_BOT_EMAIL }}" | |
| PYFUNCEBLE_CONFIG_DIR: "${{ github.workspace }}/.pyfunceble" | |
| GITHUB_TOKEN: "${{ secrets.BOT_REPO_PAT }}" | |
| jobs: | |
| single: | |
| name: Run PyFunceble with a single domain | |
| runs-on: "${{ matrix.os }}" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python_version: | |
| - "3.12" | |
| os: | |
| - ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| name: Clone repository | |
| with: | |
| token: "${{ secrets.BOT_REPO_PAT }}" | |
| - name: Set up Python ${{ matrix.python_version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python_version }} | |
| - name: Install dependencies | |
| run: | | |
| pip install pyfunceble-dev | |
| - name: Get PyFunceble version | |
| run: | | |
| PyFunceble --version | |
| - name: Run PyFunceble | |
| run: | | |
| PyFunceble -a -d github.com | |
| file_and_push: | |
| name: Run PyFunceble against a file and push result to repository | |
| runs-on: "${{ matrix.os }}" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python_version: | |
| - "3.12" | |
| os: | |
| - ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| name: Clone repository | |
| with: | |
| token: "${{ secrets.BOT_REPO_PAT }}" | |
| - name: Set up Python ${{ matrix.python_version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python_version }} | |
| - name: Install dependencies | |
| run: | | |
| pip install pyfunceble-dev | |
| - name: Get PyFunceble version | |
| run: | | |
| PyFunceble --version | |
| - name: Run PyFunceble | |
| run: | | |
| PyFunceble -a --ci -f test.list |