From ed80437db48592f955a742b62a12fe29925bc0a9 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Sat, 30 Jul 2022 00:48:57 -0500 Subject: [PATCH] github: use a matrix of hg versions Signed-off-by: Felipe Contreras --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 52024d8..ba14dc1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,6 +5,11 @@ on: jobs: test: runs-on: ubuntu-latest + strategy: + matrix: + hg: [ '4.5', '4.6', '4.7', '4.8', '4.9', '5.0' ] + env: + HG_VERSION: ${{ matrix.hg }} steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v4 @@ -12,4 +17,4 @@ jobs: python-version: '2.7' - name: Install python-dev run: sudo apt-get install -y python2.7-dev - - run: ./tools/check-versions hg:5.0 + - run: ./tools/check-versions hg:$HG_VERSION