Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
Make all jobs depend on cancel instead of have them race with it.
lhstrh authored Mar 11, 2022
1 parent 12c0fbb commit 9fb6267
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -23,67 +23,83 @@ jobs:
# Test the Maven build.
build:
uses: lf-lang/lingua-franca/.github/workflows/build.yml@master
needs: cancel

# Run the unit tests.
unit-tests:
uses: lf-lang/lingua-franca/.github/workflows/unit-tests.yml@master
needs: cancel

# Run tests for the standalone compiler.
cli-tests:
uses: lf-lang/lingua-franca/.github/workflows/cli-tests.yml@master
needs: cancel

# Run the C benchmark tests.
c-benchmark-tests:
uses: lf-lang/benchmarks-lingua-franca/.github/workflows/benchmark-tests.yml@main
with:
target: 'C'
needs: cancel

# Run tests for Eclipse.
eclipse-tests:
uses: lf-lang/lingua-franca/.github/workflows/eclipse-tests.yml@master
needs: cancel

# Run language server tests.
lsp-tests:
uses: lf-lang/lingua-franca/.github/workflows/lsp-tests.yml@master
needs: cancel

# Run the C integration tests.
c-tests:
uses: lf-lang/lingua-franca/.github/workflows/c-tests.yml@master
needs: cancel

# Run the CCpp integration tests.
ccpp-tests:
uses: lf-lang/lingua-franca/.github/workflows/c-tests.yml@master
with:
use-cpp: true
needs: cancel

# Run the C++ benchmark tests.
cpp-benchmark-tests:
uses: lf-lang/benchmarks-lingua-franca/.github/workflows/benchmark-tests.yml@main
with:
target: 'Cpp'

needs: cancel

# Run the C++ integration tests.
cpp-tests:
uses: lf-lang/lingua-franca/.github/workflows/cpp-tests.yml@master

needs: cancel

# Run the C++ integration tests on ROS2.
cpp-ros2-tests:
uses: lf-lang/lingua-franca/.github/workflows/cpp-ros2-tests.yml@master

needs: cancel

# Run the Python integration tests.
py-tests:
uses: lf-lang/lingua-franca/.github/workflows/py-tests.yml@master

needs: cancel

# Run the Rust integration tests.
rs-tests:
uses: lf-lang/lingua-franca/.github/workflows/rs-tests.yml@master
needs: cancel

# Run the Rust benchmark tests.
rs-benchmark-tests:
uses: lf-lang/benchmarks-lingua-franca/.github/workflows/benchmark-tests.yml@main
with:
target: 'Rust'

needs: cancel

# Run the TypeScript integration tests.
ts-tests:
uses: lf-lang/lingua-franca/.github/workflows/ts-tests.yml@master
needs: cancel

0 comments on commit 9fb6267

Please sign in to comment.