diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 56ad45a..ceb073c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,37 +1,41 @@ name: CI on: - - push - - pull_request + pull_request: + branches: + - master + workflow_dispatch: jobs: test: - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - runs-on: ${{ matrix.os }} + name: Julia ${{ matrix.version }} + runs-on: [self-hosted,titan,gpu] strategy: fail-fast: false matrix: version: - - '1.7' - - '1.8' - os: - - ubuntu-latest - - macOS-latest - arch: - - x64 + - '1.9' + - '1.10' steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - uses: julia-actions/julia-buildpkg@latest - uses: julia-actions/julia-runtest@latest env: JULIA_NUM_THREADS: 4 - uses: julia-actions/julia-processcoverage@v1 - # - uses: codecov/codecov-action@v1 - # with: - # file: lcov.info - uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: lcov.info \ No newline at end of file + path-to-lcov: lcov.info + parallel: true + flag-name: run-${{ matrix.version }} + finish: + needs: test + runs-on: [self-hosted,titan] + steps: + - name: Close parallel build + uses: coverallsapp/github-action@v1 + with: + parallel-finished: true + carryforward: "run-1.9,run-1.10"