From 0a5a682e7770ee7517f8b152841a522c5b764466 Mon Sep 17 00:00:00 2001 From: Seyed Ali Ghasemi Date: Tue, 23 Jan 2024 14:52:58 +0100 Subject: [PATCH] Test CI --- .github/workflows/CI_benchmark_dot.yml | 5 ++++- benchmarks/dot/dot.f90 | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI_benchmark_dot.yml b/.github/workflows/CI_benchmark_dot.yml index 0c0ef8c..7a06868 100644 --- a/.github/workflows/CI_benchmark_dot.yml +++ b/.github/workflows/CI_benchmark_dot.yml @@ -277,4 +277,7 @@ jobs: - name: Create Pull Request env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh pr create -B "${{ github.event.repository.default_branch }}" -H "results" --title "Update results" --body "Update results" \ No newline at end of file + run: | + git checkout "${{ github.event.repository.default_branch }}" + git merge --squash results + gh pr create -B "${{ github.event.repository.default_branch }}" -H "results" --title "Update results" --body "Update dot_product benchmark results" \ No newline at end of file diff --git a/benchmarks/dot/dot.f90 b/benchmarks/dot/dot.f90 index 7879f37..70e5187 100644 --- a/benchmarks/dot/dot.f90 +++ b/benchmarks/dot/dot.f90 @@ -17,7 +17,7 @@ program benchmark_dot call random_seed(size = seed_size) allocate(seed_array(seed_size)) - seed_array = 123456789 + seed_array = 132456789 call bench%init(7,'Benchmark dot_product','benchmarks/dot/results/dot', 5000)