From 04173d26bcade5f162f0f6a0e02db81ee913152a Mon Sep 17 00:00:00 2001 From: Lekcyjna <309016@uwr.edu.pl> Date: Wed, 6 Mar 2024 19:08:08 +0100 Subject: [PATCH 1/3] Add tests --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 831efa175..cde19e086 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -249,6 +249,12 @@ jobs: - name: Check traces and profiles run: ./scripts/run_tests.py -t -p -c 1 TestCore + - name: Check regression with pysim + run: ./scripts/run_tests.py -c 1 -a -b pysim regression + + - name: Check listing tests + run: ./scripts/run_tests.py -l + lint: name: Check code formatting and typing runs-on: ubuntu-latest From f3ca67903b27610a6d905e15656ba12262d1df12 Mon Sep 17 00:00:00 2001 From: Lekcyjna <309016@uwr.edu.pl> Date: Wed, 6 Mar 2024 19:42:18 +0100 Subject: [PATCH 2/3] Move regression to different job --- .github/workflows/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cde19e086..c5127ce57 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -220,6 +220,10 @@ jobs: . venv/bin/activate scripts/run_tests.py -a regression + - name: Check regression with pysim + run: ./scripts/run_tests.py -c 1 -a -b pysim regression + + unit-test: name: Run unit tests runs-on: ubuntu-latest @@ -249,9 +253,6 @@ jobs: - name: Check traces and profiles run: ./scripts/run_tests.py -t -p -c 1 TestCore - - name: Check regression with pysim - run: ./scripts/run_tests.py -c 1 -a -b pysim regression - - name: Check listing tests run: ./scripts/run_tests.py -l From cbdbb9008cc45f832a2854c7eff8ef0e284ef3e3 Mon Sep 17 00:00:00 2001 From: Lekcyjna <309016@uwr.edu.pl> Date: Thu, 7 Mar 2024 17:28:20 +0100 Subject: [PATCH 3/3] Add activate --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c5127ce57..948730829 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -221,7 +221,9 @@ jobs: scripts/run_tests.py -a regression - name: Check regression with pysim - run: ./scripts/run_tests.py -c 1 -a -b pysim regression + run: | + . venv/bin/activate + ./scripts/run_tests.py -c 1 -a -b pysim regression unit-test: