|
29 | 29 | matrix:
|
30 | 30 | include:
|
31 | 31 | - session: test
|
32 |
| - python-versions: "3.8, 3.9, 3.10, 3.11, 3.12, 3.13" |
33 |
| - other-args: "-p 3.8 3.9 3.10 3.11 3.12 3.13" |
| 32 | + python-versions: "3.9, 3.10, 3.11, 3.12, 3.13" |
| 33 | + other-args: "" |
34 | 34 | codecov: true
|
35 | 35 | packages: ""
|
36 | 36 |
|
|
79 | 79 | working-directory: antsibull-docs-parser
|
80 | 80 | env:
|
81 | 81 | CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
82 |
| - nox-test-37: |
83 |
| - # python3.7 is not available on ubuntu-latest |
84 |
| - runs-on: ubuntu-22.04 |
85 |
| - name: "Run nox test session (Python 3.7)" |
86 |
| - defaults: |
87 |
| - run: |
88 |
| - working-directory: antsibull-docs-parser |
89 |
| - steps: |
90 |
| - - name: Check out antsibull-docs-parser |
91 |
| - uses: actions/checkout@v4 |
92 |
| - with: |
93 |
| - path: antsibull-docs-parser |
94 |
| - persist-credentials: false |
95 |
| - - name: Setup nox |
96 |
| - |
97 |
| - with: |
98 |
| - python-versions: "3.7" |
99 |
| - - name: Set up nox environments |
100 |
| - run: | |
101 |
| - nox -v -e "test" -p 3.7 --install-only |
102 |
| - nox -v -e coverage --install-only |
103 |
| - - name: "Run nox -e test -p 3.7" |
104 |
| - run: | |
105 |
| - nox -v -e "test" -p 3.7 --reuse-existing-virtualenvs --no-install |
106 |
| - - name: Report coverage |
107 |
| - run: | |
108 |
| - nox -v -e coverage --reuse-existing-virtualenvs --no-install |
109 |
| - - name: Upload coverage |
110 |
| - uses: codecov/codecov-action@v5 |
111 |
| - with: |
112 |
| - name: "test" |
113 |
| - working-directory: antsibull-docs-parser |
114 |
| - env: |
115 |
| - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
116 |
| - nox-test-36: |
117 |
| - # python3.6 is not available on ubuntu-latest |
118 |
| - runs-on: ubuntu-20.04 |
119 |
| - name: "Run nox test session (Python 3.6)" |
120 |
| - defaults: |
121 |
| - run: |
122 |
| - working-directory: antsibull-docs-parser |
123 |
| - steps: |
124 |
| - - name: Check out antsibull-docs-parser |
125 |
| - uses: actions/checkout@v4 |
126 |
| - with: |
127 |
| - path: antsibull-docs-parser |
128 |
| - persist-credentials: false |
129 |
| - - name: Setup nox |
130 |
| - uses: wntrblm/[email protected] # DO NOT UPDATE THIS! Newer versions do not work with Python 3.6 |
131 |
| - with: |
132 |
| - python-versions: "3.6" |
133 |
| - # https://github.com/ansible-community/antsibull-docs-parser/issues/25 |
134 |
| - # Newer virtualenv versions seem to cause failures with Python 3.6 |
135 |
| - - name: Setup nox - downgrade virtualenv |
136 |
| - run: | |
137 |
| - pipx inject --force nox 'virtualenv<20.22.0' |
138 |
| - - name: Set up nox environments |
139 |
| - run: | |
140 |
| - nox -v -e test -p 3.6 --install-only |
141 |
| - nox -v -e coverage --install-only |
142 |
| - - name: Run unit tests |
143 |
| - run: | |
144 |
| - nox -v -e test -p 3.6 --reuse-existing-virtualenvs --no-install |
145 |
| - - name: Report coverage |
146 |
| - run: | |
147 |
| - nox -v -e coverage --reuse-existing-virtualenvs --no-install |
148 |
| - - name: Upload coverage |
149 |
| - uses: codecov/codecov-action@v5 |
150 |
| - with: |
151 |
| - name: nox-test-36 |
152 |
| - working-directory: antsibull-docs-parser |
153 |
| - env: |
154 |
| - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
0 commit comments