From 522e99813165bc5091e341d33ba98a0800f37b80 Mon Sep 17 00:00:00 2001 From: Justin Bousquin Date: Wed, 3 Jul 2024 12:30:12 -0500 Subject: [PATCH] Update test_r.yaml Drop Ubuntu. Fix where python version is set from the matrix. Conda create with python version from matrix. --- .github/workflows/test_r.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_r.yaml b/.github/workflows/test_r.yaml index 5a1e60b..3ae1df4 100644 --- a/.github/workflows/test_r.yaml +++ b/.github/workflows/test_r.yaml @@ -21,15 +21,15 @@ jobs: strategy: matrix: - os: [windows-latest, macos-latest, ubuntu-20.04.2] + os: [windows-latest, macos-latest] python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v4 - - name: setup python + - name: setup python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: - python-version: ${{ matrix.config.python }} + python-version: ${{ matrix.python-version }} - name: Set up R uses: r-lib/actions/setup-r@v2 @@ -56,7 +56,7 @@ jobs: ) reticulate::install_miniconda() - reticulate::conda_create("wq_harmonize") + reticulate::conda_create("wq_harmonize", python_version=${{ matrix.python-version }}) reticulate::conda_install("wq_harmonize", packages) #path_to_venv <- virtualenv_create(