From 6cb82436b66b587ff26d6a05d35bf517b8849b88 Mon Sep 17 00:00:00 2001 From: Jutho Date: Wed, 4 Oct 2023 22:55:29 +0200 Subject: [PATCH] modify CI to enable interactivity --- .github/workflows/CI.yml | 46 ++++++---------------------------------- 1 file changed, 7 insertions(+), 39 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9b007ee7..932d2fe1 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,4 +1,4 @@ -name: CI +name: CI-interactive on: push: branches: @@ -21,18 +21,12 @@ jobs: fail-fast: false matrix: version: - - '1.6' # LTS version - '1' # automatically expands to the latest stable 1.x release of Julia os: - ubuntu-latest - - macOS-latest # - windows-latest # run on AppVeyor instead arch: - - x64 - x86 - exclude: - - os: macOS-latest - arch: x86 steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v1 @@ -41,36 +35,10 @@ jobs: arch: ${{ matrix.arch }} - uses: julia-actions/cache@v1 - 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@v3 + - name: Setup upterm session + uses: lhotari/action-upterm@v1 with: - file: lcov.info - test-nightly: - needs: test - name: Julia nightly - ${{ matrix.os }} - ${{ matrix.arch }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - version: - - 'nightly' - os: - - ubuntu-latest - - macOS-latest - - windows-latest - arch: - - x64 - steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v1 - with: - version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v1 - - uses: julia-actions/julia-buildpkg@latest - - uses: julia-actions/julia-runtest@latest - env: - JULIA_NUM_THREADS: 4 + ## limits ssh access and adds the ssh public key for the user which triggered the workflow + limit-access-to-actor: true + ## limits ssh access and adds the ssh public keys of the listed GitHub users + limit-access-to-users: Jutho \ No newline at end of file