Skip to content

Commit

Permalink
Run only python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
byeonggiljun committed Jan 27, 2025
1 parent 856e98a commit b79fa12
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 47 deletions.
92 changes: 46 additions & 46 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,37 +39,37 @@ jobs:
with:
file: 'lingua-franca-ref.txt'

lf-default-arduino:
needs: [fetch-lf]
uses: lf-lang/lingua-franca/.github/workflows/c-arduino-tests.yml@master
with:
runtime-ref: ${{ github.ref }}
compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
if: ${{ !github.event.pull_request.draft || contains( github.event.pull_request.labels.*.name, 'arduino') }}
# lf-default-arduino:
# needs: [fetch-lf]
# uses: lf-lang/lingua-franca/.github/workflows/c-arduino-tests.yml@master
# with:
# runtime-ref: ${{ github.ref }}
# compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
# if: ${{ !github.event.pull_request.draft || contains( github.event.pull_request.labels.*.name, 'arduino') }}

lf-default-zephyr:
needs: [fetch-lf]
uses: lf-lang/lingua-franca/.github/workflows/c-zephyr-tests.yml@master
with:
runtime-ref: ${{ github.ref }}
compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
if: ${{ !github.event.pull_request.draft ||contains( github.event.pull_request.labels.*.name, 'zephyr') }}
# lf-default-zephyr:
# needs: [fetch-lf]
# uses: lf-lang/lingua-franca/.github/workflows/c-zephyr-tests.yml@master
# with:
# runtime-ref: ${{ github.ref }}
# compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
# if: ${{ !github.event.pull_request.draft ||contains( github.event.pull_request.labels.*.name, 'zephyr') }}

lf-default-flexpret:
needs: [fetch-lf]
uses: lf-lang/lingua-franca/.github/workflows/c-flexpret-tests.yml@master
with:
runtime-ref: ${{ github.ref }}
compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
if: ${{ !github.event.pull_request.draft ||contains( github.event.pull_request.labels.*.name, 'flexpret') }}
# lf-default-flexpret:
# needs: [fetch-lf]
# uses: lf-lang/lingua-franca/.github/workflows/c-flexpret-tests.yml@master
# with:
# runtime-ref: ${{ github.ref }}
# compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
# if: ${{ !github.event.pull_request.draft ||contains( github.event.pull_request.labels.*.name, 'flexpret') }}

lf-default:
needs: [fetch-lf]
uses: lf-lang/lingua-franca/.github/workflows/c-tests.yml@master
with:
runtime-ref: ${{ github.ref }}
compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
all-platforms: ${{ !github.event.pull_request.draft || contains( github.event.pull_request.labels.*.name, 'mac') || contains( github.event.pull_request.labels.*.name, 'windows') }}
# lf-default:
# needs: [fetch-lf]
# uses: lf-lang/lingua-franca/.github/workflows/c-tests.yml@master
# with:
# runtime-ref: ${{ github.ref }}
# compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
# all-platforms: ${{ !github.event.pull_request.draft || contains( github.event.pull_request.labels.*.name, 'mac') || contains( github.event.pull_request.labels.*.name, 'windows') }}

lf-python:
needs: [fetch-lf]
Expand All @@ -79,22 +79,22 @@ jobs:
compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
if: ${{ !github.event.pull_request.draft || contains( github.event.pull_request.labels.*.name, 'python') }}

lf-gedf-np:
needs: [fetch-lf]
uses: lf-lang/lingua-franca/.github/workflows/c-tests.yml@master
with:
runtime-ref: ${{ github.ref }}
compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
scheduler: GEDF_NP
all-platforms: ${{ !github.event.pull_request.draft || contains( github.event.pull_request.labels.*.name, 'mac') || contains( github.event.pull_request.labels.*.name, 'windows') }}
if: ${{ !github.event.pull_request.draft || contains( github.event.pull_request.labels.*.name, 'schedulers') }}
# lf-gedf-np:
# needs: [fetch-lf]
# uses: lf-lang/lingua-franca/.github/workflows/c-tests.yml@master
# with:
# runtime-ref: ${{ github.ref }}
# compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
# scheduler: GEDF_NP
# all-platforms: ${{ !github.event.pull_request.draft || contains( github.event.pull_request.labels.*.name, 'mac') || contains( github.event.pull_request.labels.*.name, 'windows') }}
# if: ${{ !github.event.pull_request.draft || contains( github.event.pull_request.labels.*.name, 'schedulers') }}

lf-adaptive:
needs: [fetch-lf]
uses: lf-lang/lingua-franca/.github/workflows/c-tests.yml@master
with:
runtime-ref: ${{ github.ref }}
compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
scheduler: ADAPTIVE
all-platforms: ${{ !github.event.pull_request.draft || contains( github.event.pull_request.labels.*.name, 'mac') || contains( github.event.pull_request.labels.*.name, 'windows') }}
if: ${{ !github.event.pull_request.draft || contains( github.event.pull_request.labels.*.name, 'schedulers') }}
# lf-adaptive:
# needs: [fetch-lf]
# uses: lf-lang/lingua-franca/.github/workflows/c-tests.yml@master
# with:
# runtime-ref: ${{ github.ref }}
# compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
# scheduler: ADAPTIVE
# all-platforms: ${{ !github.event.pull_request.draft || contains( github.event.pull_request.labels.*.name, 'mac') || contains( github.event.pull_request.labels.*.name, 'windows') }}
# if: ${{ !github.event.pull_request.draft || contains( github.event.pull_request.labels.*.name, 'schedulers') }}
2 changes: 1 addition & 1 deletion lingua-franca-ref.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
master
debug-dnet-in-ci

0 comments on commit b79fa12

Please sign in to comment.