From 07ab303f9074c0b51bdd026c3740d9a89a140d2b Mon Sep 17 00:00:00 2001 From: Pablo Date: Fri, 15 Nov 2024 19:39:52 +0100 Subject: [PATCH] Workflow adjustments --- .github/workflows/CI.yml | 13 ++++++++----- .github/workflows/CompatHelper.yml | 7 ++----- .github/workflows/TagBot.yml | 3 --- 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9524b32..3c1eda1 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -15,9 +15,6 @@ jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} - defaults: - run: - working-directory: ./StarStats timeout-minutes: 60 permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created actions: write @@ -39,8 +36,14 @@ jobs: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - uses: julia-actions/cache@v2 - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 + - name: Develop and test Makie + shell: julia --project=. + run: | + using Pkg + pkg"registry up" + Pkg.update() + pkg"dev ./StarStats" + Pkg.test("StarStats"; coverage=true) #docs: # name: Documentation # runs-on: ubuntu-latest diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index 220b924..6e1985f 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -6,14 +6,11 @@ on: jobs: CompatHelper: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./StarStats steps: - name: Pkg.add("CompatHelper") - run: julia -e 'using Pkg; Pkg.add("CompatHelper")' + run: cd StarStats;julia -e 'using Pkg; Pkg.add("CompatHelper")' - name: CompatHelper.main() env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} - run: julia -e 'using CompatHelper; CompatHelper.main()' + run: cd StarStats;julia -e 'using CompatHelper; CompatHelper.main()' diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index bf7e178..0cd3114 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -24,9 +24,6 @@ jobs: TagBot: if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' runs-on: ubuntu-latest - defaults: - run: - working-directory: ./StarStats steps: - uses: JuliaRegistries/TagBot@v1 with: