Skip to content

Commit

Permalink
Update test_r.yaml
Browse files Browse the repository at this point in the history
Drop Ubuntu. Fix where python version is set from the matrix. Conda create with python version from matrix.
  • Loading branch information
jbousquin authored Jul 3, 2024
1 parent 3316530 commit 522e998
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test_r.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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(
Expand Down

0 comments on commit 522e998

Please sign in to comment.