michaelsembwever commented on code in PR #801:
URL: https://github.com/apache/cassandra-ccm/pull/801#discussion_r2618401222
##########
.github/workflows/main.yml:
##########
@@ -14,34 +14,38 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-name: CI
+name: CI - Python 3.x
on:
push:
pull_request:
workflow_dispatch:
jobs:
- build:
+ lint_test_smoke:
runs-on: ubuntu-24.04
+ strategy:
+ matrix:
+ python-version: ['3.8', '3.11'] # TODO add '3.12' '3.13' '3.14'
+ fail-fast: false
steps:
- uses: actions/checkout@v4
- - name: Create virtual environment
- run: python -m venv venv
-
- - name: Activate virtual environment
- run: source venv/bin/activate
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v5
+ with:
+ python-version: ${{ matrix.python-version }}
- - name: Install dependencies
- run: pip install -r requirements.txt && pip install -r
tests/requirements.txt
+ - name: Set up Python environment
+ run: |
+ pip install --upgrade pip
+ pip install -r requirements.txt && pip install -r
tests/requirements.txt
- name: Run linter
- run: pylint --output-format msvs --reports y ccmlib || true
-
- - name: Run linter for tests
- run: pylint --output-format msvs --reports y tests || true
+ run: |
+ pylint --output-format msvs --reports y ccmlib || true
+ pylint --output-format msvs --reports y tests || true
Review Comment:
it was like this from before. failure would be good, but let's do that in a
separate ticket. (i think there's too many failures currently so it becomes
its own big task)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]