From 638e2c3ced375e0684be0c7e1d5e92a06040a0af Mon Sep 17 00:00:00 2001 From: elysian Date: Mon, 9 Mar 2026 10:37:40 -0400 Subject: [PATCH] started github actions workflow --- .github/workflows/greet.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/greet.yml diff --git a/.github/workflows/greet.yml b/.github/workflows/greet.yml new file mode 100644 index 0000000..bf4b3a8 --- /dev/null +++ b/.github/workflows/greet.yml @@ -0,0 +1,34 @@ +# name of the workflow +name: greet + +# when the workflow should run +on: + push: + branches: + - main + - master + pull_request: + branches: + - main + - master + +# independent jobs in the workflow +jobs: + # this workflow just has one job called "greet" + greet: + # the operating system to use for this workflow + runs-on: ubuntu-latest + # list of steps in the workflow + steps: + # use an action provided by github to checkout the repo + - uses: actions/checkout@v3 + # a custom step that runs a couple shell commands + - name: List + run: | + echo "listing files in the cm_pkg directory" + ls cm_pkg + # a custom step that runs R code + - name: Greet + run: print("Hello, world!") + # Replace `shell: Rscript {0}` with `shell: python {0}` to run Python code instead! + shell: python {0} \ No newline at end of file