From afdc7d900d305fc88ed9cbaebff0d270fd523db2 Mon Sep 17 00:00:00 2001 From: Daniel Chen Date: Sat, 1 Jun 2024 11:49:19 -0700 Subject: [PATCH 1/4] ci example --- .github/workflows/ci_example.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/ci_example.yaml diff --git a/.github/workflows/ci_example.yaml b/.github/workflows/ci_example.yaml new file mode 100644 index 0000000..6fe3dda --- /dev/null +++ b/.github/workflows/ci_example.yaml @@ -0,0 +1,17 @@ +name: CI Example + +on: [push, pull_request, workflow_dispatch] + +jobs: + my_steps: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Run a one-line script + run: echo Hello, world! + + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. From 79573f2d10c917d22962b2ea2b13826a72ca3451 Mon Sep 17 00:00:00 2001 From: Daniel Chen Date: Sat, 1 Jun 2024 11:50:30 -0700 Subject: [PATCH 2/4] check relase ci --- .github/workflows/check-release.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/check-release.yml diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml new file mode 100644 index 0000000..b1a5222 --- /dev/null +++ b/.github/workflows/check-release.yml @@ -0,0 +1,23 @@ +on: [push, pull_request] + +name: R-CMD-check + +jobs: + R-CMD-check: + runs-on: ubuntu-latest + + steps: + - name: Checkout files from GitHub version control repository + uses: actions/checkout@v2 + + - name: Setup R + uses: r-lib/actions/setup-r@v2 + + - name: Install R packages + uses: r-lib/actions/setup-r-dependencies@v2 + with: + extra-packages: any::rcmdcheck + needs: check + + - name: Checks if R package can be installed + uses: r-lib/actions/check-r-package@v2 From 038d694854078632ea04cd6c3acf82049e84142e Mon Sep 17 00:00:00 2001 From: Daniel Chen Date: Sat, 1 Jun 2024 12:00:59 -0700 Subject: [PATCH 3/4] test with windows-latest --- .github/workflows/check-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml index b1a5222..b4b78b2 100644 --- a/.github/workflows/check-release.yml +++ b/.github/workflows/check-release.yml @@ -4,7 +4,7 @@ name: R-CMD-check jobs: R-CMD-check: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - name: Checkout files from GitHub version control repository From 4db3fdfcf1bcbd4361a2f11e2de56cdfa5210987 Mon Sep 17 00:00:00 2001 From: Daniel Chen Date: Sat, 1 Jun 2024 12:03:23 -0700 Subject: [PATCH 4/4] test with macos-latest --- .github/workflows/check-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml index b4b78b2..c8298b2 100644 --- a/.github/workflows/check-release.yml +++ b/.github/workflows/check-release.yml @@ -4,7 +4,7 @@ name: R-CMD-check jobs: R-CMD-check: - runs-on: windows-latest + runs-on: macos-latest steps: - name: Checkout files from GitHub version control repository