diff --git a/.github/workflows/pamoreno-datalab.yml b/.github/workflows/pamoreno-datalab.yml new file mode 100644 index 0000000..46beb67 --- /dev/null +++ b/.github/workflows/pamoreno-datalab.yml @@ -0,0 +1,34 @@ +name: datalab + +on: + push: + branches: [ datalab ] + pull_request: + branches: [ datalab ] + +jobs: + test: + runs-on: ubuntu-latest + name: datalab-test + steps: + - name: checkout + uses: actions/checkout@v2 + - name: test + id: test + uses: pamoreno/datalab-action@v1 + with: + target: 'test' + + grade: + runs-on: ubuntu-latest + name: datalab-grade + steps: + - name: checkout + uses: actions/checkout@v2 + - name: grade + id: grade + uses: pamoreno/datalab-action@v1 + with: + target: 'grade' + - name: Get the output log + run: echo "The result was ${{ steps.grade.outputs.result }}"