You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2022/05/23 19:02:40 UTC

[maven-gh-actions-shared] branch v2 updated: [SCM-988] Make all TCK tests run on all GH Actions platforms

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git


The following commit(s) were added to refs/heads/v2 by this push:
     new 721c423  [SCM-988] Make all TCK tests run on all GH Actions platforms
721c423 is described below

commit 721c423b9697c3a9fc9464ef7b9471f48fa17925
Author: Niels Basjes <ni...@basjes.nl>
AuthorDate: Mon May 23 11:34:47 2022 +0200

    [SCM-988] Make all TCK tests run on all GH Actions platforms
    
    This closes #44
---
 .github/workflows/maven-verify.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml
index d748c27..d8011ec 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -214,6 +214,15 @@ jobs:
           inputs.verify-site-goal != inputs.ff-site-goal
         run: echo ok
 
+      # Some projects (like Maven SCM) need the command-line tools for all SCMs installed.
+      # Git and Subversion are installed on all by default.
+      # Mercurial is not installed on macOS.
+      # https://docs.github.com/en/actions/using-github-hosted-runners/customizing-github-hosted-runners#installing-software-on-macos-runners
+      - name: Ensure all needed tools are installed (macOS)
+        if: steps.should-run.conclusion == 'success' && matrix.os == 'macOS-latest'
+        run: |
+          brew install mercurial
+
       - name: Show free disk space
         if: steps.should-run.conclusion == 'success'
         run: df -h