Skip to content

Commit fe457f4

Browse files
author
devizer
committed
Actions on VM: Framework 4.8? All the VM images, Combine always, 1 worker, 2GB RAM, 4 CPUs, Host Ubuntu 20.04, Upload VM Artifact, Tests on VM with timeout, more vms
1 parent 80dcf23 commit fe457f4

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/CpuUsage-Tests-Matrix.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,17 @@ jobs:
8282
- name: Run Tests
8383
run: |
8484
set -ue; set -o pipefail
85+
cat << 'EOF' > "$HOME/Artifacts/letsrock.sh"
86+
Say "STARTING TESTS";
87+
free -m;
88+
nunit3-console --framework=v4.0 --workers=1 --dispose-runners Universe.CpuUsage.Tests.dll | tee /job/PRECISION.LOG;
89+
cat "$HOME/Artifacts/letsrock.sh"
90+
Say "TESTS COMPLETED"
91+
EOF
8592
timeout 666 docker run --privileged -e VM_MEM=1000M -e VM_CPUS=2 -e QEMU_TCG_ACCELERATOR=tcg --name VM --hostname VM --device /dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined -t \
8693
-v "$HOME/Artifacts":/job \
8794
"devizervlad/crossplatform-pipeline:${{ matrix.os }}" \
88-
bash -e -c "a=1; Say \"STARTING TESTS\"; free -m; nunit3-console --framework=v4.0 --workers=1 --dispose-runners Universe.CpuUsage.Tests.dll | tee /job/PRECISION.LOG; Say \"TESTS COMPLETED\""
95+
bash -e letsrock.sh
8996
9097
- name: PREPARE Artifact
9198
run: |

0 commit comments

Comments
 (0)