Passing tests #833
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Testing known case studies" | |
on: | |
push: | |
branches: | |
- "master" | |
- "develop" | |
concurrency: | |
group: Testing known case studies | |
cancel-in-progress: true | |
jobs: | |
build-and-test: | |
strategy: | |
matrix: | |
jdk_distributions: [temurin, corretto, zulu] | |
jdk_version: ["17", "21"] | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: coursier/setup-action@v1 | |
with: | |
jvm: ${{ matrix.jdk_distributions }}:${{ matrix.jdk_version }} | |
apps: cs sbt bloop | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: ${{ matrix.jdk_distributions }} | |
java-version: '${{ matrix.jdk_version }}' | |
- name: Build java | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y curl bash build-essential libssl-dev pkg-config dos2unix mingw-w64 musl-dev musl-tools dos2unix | |
cd ${{ github.workspace }} | |
dos2unix ./gradlew # make sure that gradlew is not with CRLF | |
./gradlew publishModules | |
sbt publishModules | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable -y | |
source "$HOME/.cargo/env" | |
cargo build --release | |
cp ./target/release/idesyde-orchestration idesyde | |
python -m pip install robotframework | |
python -m robot --loglevel DEBUG --exclude slow TestsBenchmark.robot | |
- uses: actions/upload-artifact@v3 | |
if: success() || failure() | |
with: | |
name: test case logs | |
path: | | |
log.html | |
report.html |