From 60ebfe7061a2e145e2f1938606cdd85bd220372b Mon Sep 17 00:00:00 2001 From: Github Action Date: Mon, 23 Sep 2024 00:02:15 +0000 Subject: [PATCH] New data collected at 2024-09-23_00-02-15 --- github-actions/cli/rhel.yaml | 53 +++++++++++++++++++++++ github-actions/knitr/R-CMD-check.yaml | 2 - github-actions/knitr/knitr-examples.yaml | 2 +- github-actions/mlflow/examples.yml | 1 + github-actions/mlflow/master.yml | 6 +-- github-actions/tabulizer/R-CMD-check.yaml | 6 ++- gitignore/xgboost.gitignore | 1 + make/knitr-Makefile | 6 --- rbuildignore/knitr.Rbuildignore | 1 - 9 files changed, 64 insertions(+), 14 deletions(-) create mode 100644 github-actions/cli/rhel.yaml diff --git a/github-actions/cli/rhel.yaml b/github-actions/cli/rhel.yaml new file mode 100644 index 00000000..80935e18 --- /dev/null +++ b/github-actions/cli/rhel.yaml @@ -0,0 +1,53 @@ +on: + workflow_dispatch: + +name: rhel.yaml + +permissions: read-all + +jobs: + rhel: + runs-on: ubuntu-latest + name: ${{ matrix.config.os }} (${{ matrix.config.r }}) + strategy: + fail-fast: false + matrix: + config: + # cannot run the nodejs actions because RHEL7 cannot run node20 + # - { os: rhel7, r: release, key: REDHAT_ACTIVATION_KEY_RHEL7 } + - { os: rhel8, r: release, key: REDHAT_ACTIVATION_KEY_RHEL8 } + - { os: rhel9, r: release, key: REDHAT_ACTIVATION_KEY_RHEL9 } + container: + image: ghcr.io/r-hub/containers/${{ matrix.config.os }}:latest + + steps: + - uses: actions/checkout@v4 + + - name: Register + run: | + subscription-manager register \ + --org ${{ secrets.REDHAT_ORG }} \ + --activationkey ${{ secrets[matrix.config.key] }} + shell: bash + + - name: Install R + if: ${{ matrix.config.r != 'release' }} + run: | + rig add ${{ matrix.config.r }} + shell: bash + + - uses: r-lib/actions/setup-r-dependencies@v2 + with: + extra-packages: any::rcmdcheck + needs: check + + - uses: r-lib/actions/check-r-package@v2 + with: + build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")' + env: + NOT_CRAN: true + + - name: Unregister + if: always() + run: | + subscription-manager unregister || true diff --git a/github-actions/knitr/R-CMD-check.yaml b/github-actions/knitr/R-CMD-check.yaml index aa01d8a9..4afbaeb6 100644 --- a/github-actions/knitr/R-CMD-check.yaml +++ b/github-actions/knitr/R-CMD-check.yaml @@ -56,8 +56,6 @@ jobs: http-user-agent: ${{ matrix.config.http-user-agent }} use-public-rspm: true - - uses: r-lib/actions/setup-pandoc@v2 - - uses: r-lib/actions/setup-tinytex@v2-branch env: # install full prebuilt version diff --git a/github-actions/knitr/knitr-examples.yaml b/github-actions/knitr/knitr-examples.yaml index af64600e..a7a75497 100644 --- a/github-actions/knitr/knitr-examples.yaml +++ b/github-actions/knitr/knitr-examples.yaml @@ -91,7 +91,7 @@ jobs: make integration shell: bash - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: failure() with: name: knitr-examples diff --git a/github-actions/mlflow/examples.yml b/github-actions/mlflow/examples.yml index f0d5625e..80753f3c 100644 --- a/github-actions/mlflow/examples.yml +++ b/github-actions/mlflow/examples.yml @@ -80,6 +80,7 @@ jobs: if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || steps.check-diff.outputs.examples_changed == 'true' }} run: | source ./dev/install-common-deps.sh --ml + pip install fastapi uvicorn - name: Run example tests if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || steps.check-diff.outputs.examples_changed == 'true' }} diff --git a/github-actions/mlflow/master.yml b/github-actions/mlflow/master.yml index ce3d75f1..e581197e 100644 --- a/github-actions/mlflow/master.yml +++ b/github-actions/mlflow/master.yml @@ -219,7 +219,7 @@ jobs: - name: Install dependencies run: | source ./dev/install-common-deps.sh - pip install pyspark langchain langchain-community + pip install pyspark langchain langchain-community '.[mlserver]' - uses: ./.github/actions/show-versions - uses: ./.github/actions/pipdeptree - name: Run tests @@ -245,7 +245,7 @@ jobs: - name: Install dependencies run: | source ./dev/install-common-deps.sh - pip install pyspark torch transformers langchain langchain-experimental + pip install pyspark torch transformers langchain langchain-experimental '.[genai]' - uses: ./.github/actions/show-versions - uses: ./.github/actions/pipdeptree - name: Run tests @@ -334,7 +334,7 @@ jobs: source .venv/Scripts/activate python -m pip install -U pip pip install --no-dependencies tests/resources/mlflow-test-plugin - pip install .[extras] + pip install '.[extras,genai]' pip install pyspark pip install mleap # Install Hugging Face datasets to test Hugging Face usage with MLflow dataset tracking diff --git a/github-actions/tabulizer/R-CMD-check.yaml b/github-actions/tabulizer/R-CMD-check.yaml index 12863941..b07a0bb2 100644 --- a/github-actions/tabulizer/R-CMD-check.yaml +++ b/github-actions/tabulizer/R-CMD-check.yaml @@ -1,8 +1,12 @@ # For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag. # https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions on: - push: + push: + branches: + - main pull_request: + branches: + - main name: R-CMD-check diff --git a/gitignore/xgboost.gitignore b/gitignore/xgboost.gitignore index 8a2df2a9..88996f33 100644 --- a/gitignore/xgboost.gitignore +++ b/gitignore/xgboost.gitignore @@ -33,6 +33,7 @@ ipch *.filters *.user *log +rmm_log.txt Debug *suo .Rhistory diff --git a/make/knitr-Makefile b/make/knitr-Makefile index af3a1f1d..74067056 100644 --- a/make/knitr-Makefile +++ b/make/knitr-Makefile @@ -44,12 +44,6 @@ examples: cd inst/examples;\ Rscript knit-all.R -vignettes: - cd vignettes;\ - lyx -e knitr knitr-refcard.lyx;\ - sed -i '/\\usepackage{breakurl}/ d' knitr-refcard.Rnw;\ - mv knitr-refcard.Rnw assets/template-refcard.tex - clean: cd ..;\ $(RM) -r $(PKGNAME).Rcheck/ diff --git a/rbuildignore/knitr.Rbuildignore b/rbuildignore/knitr.Rbuildignore index 5dd1a889..213c72e2 100644 --- a/rbuildignore/knitr.Rbuildignore +++ b/rbuildignore/knitr.Rbuildignore @@ -23,4 +23,3 @@ Makefile ^codecov\.yml$ ^NEWS\.md$ ^cran-comments\.md$ -vignettes/knitr-refcard.lyx