-
Notifications
You must be signed in to change notification settings - Fork 16
86 lines (71 loc) · 2.01 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
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