name: CI # on: [push] on: # save cycles; disable on push, enable manual trigger workflow_dispatch: jobs: test: runs-on: ubuntu-latest strategy: matrix: hg: [ '6.0', '6.1', '6.2', '6.3', '6.4', '6.5', '6.6', '6.7', '6.8', '6.9', '7.0' ] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.11' - uses: actions/cache@v4 id: cache-pip with: path: ~/.cache/pip key: pip - name: Install hg run: pip install mercurial==${{ matrix.hg }} - run: prove -j4 test-windows: runs-on: windows-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.11' - uses: actions/cache@v4 id: cache-pip with: path: ~/appdata/local/pip/cache key: pip-windows - name: Install hg run: pip install mercurial - name: Run all tests run: prove -j4 --exec bash.exe