@@ -11,46 +11,58 @@ jobs:
11
11
12
12
steps :
13
13
- name : Check out antsibull
14
- uses : actions/checkout@v2
14
+ uses : actions/checkout@v3
15
15
with :
16
16
repository : ansible-community/antsibull
17
17
ref : main
18
18
path : antsibull
19
19
20
+ - name : Check out antsibull-core
21
+ uses : actions/checkout@v3
22
+ with :
23
+ repository : ansible-community/antsibull-core
24
+ ref : main
25
+ path : antsibull-core
26
+
27
+ - name : Check out antsibull-changelog
28
+ uses : actions/checkout@v3
29
+ with :
30
+ repository : ansible-community/antsibull-changelog
31
+ ref : main
32
+ path : antsibull-changelog
33
+
34
+ - name : Check out antsibull-docs
35
+ uses : actions/checkout@v3
36
+ with :
37
+ repository : ansible-community/antsibull-docs
38
+ ref : main
39
+ path : antsibull-docs
40
+
20
41
- name : Pre-create build directory
21
42
run : mkdir -p antsibull/build
22
43
23
44
# This is where the antsibull build-release role expects it by default
24
45
- name : Check out ansible-build-data under antsibull build directory
25
- uses : actions/checkout@v2
46
+ uses : actions/checkout@v3
26
47
with :
27
48
path : antsibull/build/ansible-build-data
28
49
29
- - name : Set up Python 3.9
30
- uses : actions/setup-python@v2
50
+ - name : Set up Python 3.10
51
+ uses : actions/setup-python@v3
31
52
with :
32
- python-version : 3.9
53
+ python-version : ' 3.10 '
33
54
34
55
- name : Install dependencies
35
56
run : |
36
57
python3 -m pip install --upgrade pip
37
58
python3 -m pip install poetry ansible-core
38
59
39
- - name : Test building ansible 6.x
60
+ - name : Test building Ansible 6
40
61
working-directory : antsibull
41
62
run : |
42
63
ansible-playbook -vv playbooks/build-single-release.yaml \
43
- -e 'antsibull_build_command="poetry run coverage run -p --source antsibull -m antsibull.cli.antsibull_build"' \
44
64
-e antsibull_build_file=ansible-6.build \
45
- -e antsibull_ansible_version=6.0.0a1 \
65
+ -e antsibull_ansible_version=6.99.0 \
46
66
-e antsibull_data_dir="{{ antsibull_data_git_dir }}/6" \
47
- -e antsibull_ansible_git_version=milestone \
67
+ -e antsibull_ansible_git_version=stable-2.13 \
48
68
-e antsibull_data_reset=false
49
-
50
- - name : Combine and upload coverage stats
51
- working-directory : antsibull
52
- run : |
53
- poetry run coverage combine .coverage.*
54
- poetry run coverage report
55
- poetry run coverage xml -i
56
- poetry run codecov
0 commit comments