diff --git a/.github/workflows/pamoreno-datalab.yml b/.github/workflows/pamoreno-datalab.yml new file mode 100644 index 0000000..fdacca1 --- /dev/null +++ b/.github/workflows/pamoreno-datalab.yml @@ -0,0 +1,43 @@ +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 }}" + + gradev2: + runs-on: ubuntu-latest + name: datalab-grade-2 + needs: test + steps: + - name: Grade + run: | + cd ${{ github.workspace }}/labs/datalab && make grade