Skip to content

Commit 7d30538

Browse files
committed
New data collected at 2025-05-26_00-02-44
1 parent 1270aa3 commit 7d30538

12 files changed

Lines changed: 162 additions & 31 deletions

File tree

codecov/zeallot-codecov.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
comment: false
2+
3+
coverage:
4+
status:
5+
project:
6+
default:
7+
target: auto
8+
threshold: 1%
9+
informational: true
10+
patch:
11+
default:
12+
target: auto
13+
threshold: 1%
14+
informational: true

github-actions/ggplot2/test-coverage.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,16 @@ jobs:
3535
clean = FALSE,
3636
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
3737
)
38+
print(cov)
3839
covr::to_cobertura(cov)
3940
shell: Rscript {0}
4041

41-
- uses: codecov/codecov-action@v4
42+
- uses: codecov/codecov-action@v5
4243
with:
43-
fail_ci_if_error: ${{ github.event_name != 'pull_request' && true || false }}
44-
file: ./cobertura.xml
45-
plugin: noop
44+
# Fail if error if not on PR, or if on PR and token is given
45+
fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
46+
files: ./cobertura.xml
47+
plugins: noop
4648
disable_search: true
4749
token: ${{ secrets.CODECOV_TOKEN }}
4850

github-actions/mlflow/autoformat.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
check-comment:
1414
runs-on: ubuntu-latest
1515
timeout-minutes: 10
16-
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, 'autoformat') }}
16+
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/autoformat') }}
1717
permissions:
1818
statuses: write # autoformat.createStatus
1919
pull-requests: write # autoformat.createReaction on PRs
@@ -235,13 +235,8 @@ jobs:
235235
const needs = ${{ toJson(needs) }};
236236
const head_sha = '${{ needs.check-comment.outputs.head_sha }}'
237237
const autoformat = require('./.github/workflows/autoformat.js');
238-
// TODO: Remove try-catch block once we are confident that the code works fine.
239-
try {
240-
const push_head_sha = '${{ needs.push.outputs.head_sha }}';
241-
if (push_head_sha) {
242-
await autoformat.approveWorkflowRuns(context, github, push_head_sha);
243-
}
244-
} catch (error) {
245-
core.warning(`Failed to approve workflow runs: ${error}`);
238+
const push_head_sha = '${{ needs.push.outputs.head_sha }}';
239+
if (push_head_sha) {
240+
await autoformat.approveWorkflowRuns(context, github, push_head_sha);
246241
}
247242
await autoformat.updateStatus(context, github, head_sha, needs);

github-actions/mlflow/cross-version-test-runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
run:
1212
runs-on: ubuntu-latest
1313
timeout-minutes: 10
14-
if: ${{ github.event.issue.pull_request && github.event.comment.body }}
14+
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/cvt') }}
1515
permissions:
1616
pull-requests: write
1717
actions: write

github-actions/mlflow/master.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,9 @@ jobs:
343343
# Install databricks-agents from a pre-release wheel because the latest released version
344344
# is not compatible with MLflow master. Using --no-deps because it pings mlflow to 3.0.0rc2.
345345
pip install https://ml-team-public-read.s3.us-west-2.amazonaws.com/wheels/rag-studio/dev/samraj.moorjani/databricks_agents-1.0.0rc1.dev0-py3-none-any.whl --no-deps
346-
pytest tests/genai
346+
pytest tests/genai --ignore tests/genai/test_genai_import_without_agent_sdk.py
347+
pip uninstall -y databricks-agents
348+
pytest tests/genai/test_genai_import_without_agent_sdk.py
347349
348350
optuna:
349351
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false

github-actions/mlflow/team-review.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ name: Team review
22

33
on:
44
pull_request_target:
5-
types: [review_requested]
5+
types:
6+
- labeled
67

78
jobs:
89
review:
910
runs-on: ubuntu-latest
10-
if: ${{ github.event.requested_reviewer.login == 'mlflow-automation'}}
11+
# Our GitHub Plan doesn't support team pull request reviewers. Use the `team-review` label to trigger this workflow.
12+
if: ${{ github.event.label.name == 'team-review' }}
1113
timeout-minutes: 5
1214
permissions:
1315
pull-requests: write
@@ -42,9 +44,3 @@ jobs:
4244
pull_number,
4345
reviewers: members.filter((m) => !approved.includes(m) && m !== author),
4446
});
45-
await github.rest.pulls.removeRequestedReviewers({
46-
owner,
47-
repo,
48-
pull_number,
49-
reviewers: ["mlflow-automation"],
50-
});
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
#
4+
# NOTE: This workflow is overkill for most R packages and
5+
# check-standard.yaml is likely a better choice.
6+
# usethis::use_github_action("check-standard") will install it.
7+
on:
8+
push:
9+
branches: [main, master]
10+
pull_request:
11+
12+
name: R-CMD-check.yaml
13+
14+
permissions: read-all
15+
16+
jobs:
17+
R-CMD-check:
18+
runs-on: ${{ matrix.config.os }}
19+
20+
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
21+
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
config:
26+
- {os: macos-latest, r: 'release'}
27+
28+
- {os: windows-latest, r: 'release'}
29+
# use 4.0 or 4.1 to check with rtools40's older compiler
30+
- {os: windows-latest, r: 'oldrel-4'}
31+
32+
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
33+
- {os: ubuntu-latest, r: 'release'}
34+
- {os: ubuntu-latest, r: 'oldrel-1'}
35+
- {os: ubuntu-latest, r: 'oldrel-2'}
36+
- {os: ubuntu-latest, r: 'oldrel-3'}
37+
- {os: ubuntu-latest, r: 'oldrel-4'}
38+
39+
env:
40+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
41+
R_KEEP_PKG_SOURCE: yes
42+
43+
steps:
44+
- uses: actions/checkout@v4
45+
46+
- uses: r-lib/actions/setup-pandoc@v2
47+
48+
- uses: r-lib/actions/setup-r@v2
49+
with:
50+
r-version: ${{ matrix.config.r }}
51+
http-user-agent: ${{ matrix.config.http-user-agent }}
52+
use-public-rspm: true
53+
54+
- uses: r-lib/actions/setup-r-dependencies@v2
55+
with:
56+
extra-packages: any::rcmdcheck
57+
needs: check
58+
59+
- uses: r-lib/actions/check-r-package@v2
60+
with:
61+
upload-snapshots: true
62+
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
8+
name: test-coverage.yaml
9+
10+
permissions: read-all
11+
12+
jobs:
13+
test-coverage:
14+
runs-on: ubuntu-latest
15+
env:
16+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- uses: r-lib/actions/setup-r@v2
22+
with:
23+
use-public-rspm: true
24+
25+
- uses: r-lib/actions/setup-r-dependencies@v2
26+
with:
27+
extra-packages: any::covr, any::xml2
28+
needs: coverage
29+
30+
- name: Test coverage
31+
run: |
32+
cov <- covr::package_coverage(
33+
quiet = FALSE,
34+
clean = FALSE,
35+
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
36+
)
37+
print(cov)
38+
covr::to_cobertura(cov)
39+
shell: Rscript {0}
40+
41+
- uses: codecov/codecov-action@v5
42+
with:
43+
# Fail if error if not on PR, or if on PR and token is given
44+
fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
45+
files: ./cobertura.xml
46+
plugins: noop
47+
disable_search: true
48+
token: ${{ secrets.CODECOV_TOKEN }}
49+
50+
- name: Show testthat output
51+
if: always()
52+
run: |
53+
## --------------------------------------------------------------------
54+
find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true
55+
shell: bash
56+
57+
- name: Upload test results
58+
if: failure()
59+
uses: actions/upload-artifact@v4
60+
with:
61+
name: coverage-test-failures
62+
path: ${{ runner.temp }}/package

gitignore/mlflow.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ mlruns/
33
mlartifacts/
44
outputs/
55
mlruns.db
6+
mlflow.db
67
**/basic_auth.db
78

89
# Mac

gitignore/zeallot.gitignore

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
.Rproj.user
2-
.Rhistory
3-
.RData
4-
.Ruserdata
5-
.DS_Store
6-
inst/doc
1+
*.html

0 commit comments

Comments
 (0)