From 6a90370393bc527ee6b68e5368e9d7264d493e19 Mon Sep 17 00:00:00 2001 From: Matt Dancho Date: Thu, 4 Jan 2024 17:28:18 -0500 Subject: [PATCH] attempt to fix env --- .github/workflows/R-CMD-check.yaml | 5 +++++ .github/workflows/pkgdown.yaml | 6 ++++++ .github/workflows/pr-commands.yaml | 13 +++++++++++++ .github/workflows/test-coverage.yaml | 6 ++++++ 4 files changed, 30 insertions(+) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index e4934c0..1fa73d7 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -47,6 +47,11 @@ jobs: activate-environment: r-gluonts python-version: 3.7.1 environment-file: _environment.yml + auto-activate-base: false + - name: Conda Info + run: | + conda info + conda list - uses: r-lib/actions/setup-pandoc@v2 diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index c150145..b9eb2b0 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -30,6 +30,12 @@ jobs: activate-environment: r-gluonts python-version: 3.7.1 environment-file: _environment.yml + auto-activate-base: false + + - name: Conda Info + run: | + conda info + conda list - uses: r-lib/actions/setup-pandoc@v2 diff --git a/.github/workflows/pr-commands.yaml b/.github/workflows/pr-commands.yaml index 71f335b..4ba9508 100644 --- a/.github/workflows/pr-commands.yaml +++ b/.github/workflows/pr-commands.yaml @@ -53,6 +53,19 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Install miniconda r-gluonts env + uses: conda-incubator/setup-miniconda@v3 + with: + activate-environment: r-gluonts + python-version: 3.7.1 + environment-file: _environment.yml + auto-activate-base: false + + - name: Conda Info + run: | + conda info + conda list + - uses: r-lib/actions/pr-fetch@v2 with: repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index abd4c33..412528f 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -23,6 +23,12 @@ jobs: activate-environment: r-gluonts python-version: 3.7.1 environment-file: _environment.yml + auto-activate-base: false + + - name: Conda Info + run: | + conda info + conda list - uses: r-lib/actions/setup-r@v2 with: