Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pamoreno committed May 5, 2021
1 parent 502b9ba commit d2d293b
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/pamoreno-datalab.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d2d293b

Please sign in to comment.