Launch test #16133
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: PyFunceble CI tests | |
on: | |
push: | |
branches: | |
- "master" | |
pull_request: | |
branches: | |
- "master" | |
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@v4 | |
name: Clone repository | |
with: | |
token: "${{ secrets.BOT_REPO_PAT }}" | |
- name: Set up Python ${{ matrix.python_version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- name: Install dependencies | |
run: | | |
pip install git+https://github.com/funilrys/PyFunceble.git@new-proc-manager | |
- 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@v4 | |
name: Clone repository | |
with: | |
token: "${{ secrets.BOT_REPO_PAT }}" | |
- name: Set up Python ${{ matrix.python_version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- name: Install dependencies | |
run: | | |
pip install git+https://github.com/funilrys/PyFunceble.git@new-proc-manager | |
- name: Get PyFunceble version | |
run: | | |
PyFunceble --version | |
- name: Run PyFunceble | |
run: | | |
PyFunceble -a --ci -f test.list |