From 34913b08e886cf479964bd65bd3d1b029217790e Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Wed, 18 Sep 2024 22:10:13 -0500 Subject: [PATCH] Debug test setup --- .github/workflows/fortran.yml | 2 ++ docs/conf.py | 2 +- fortran/Makefile | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fortran.yml b/.github/workflows/fortran.yml index 2d8abe08..257b4fb2 100644 --- a/.github/workflows/fortran.yml +++ b/.github/workflows/fortran.yml @@ -35,6 +35,8 @@ jobs: runs-on: ${{ matrix.os }} steps: + - uses: actions/checkout@v4 + - uses: fortran-lang/setup-fortran@v1 id: setup-fortran with: diff --git a/docs/conf.py b/docs/conf.py index 4f16d242..17a116e2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -245,7 +245,7 @@ def countfiles(lang): def setup(app): try: labels, sizes, counts = zip(*((lang, float(size), countfiles(lang)) for lang, size in linguist(basedir))) - print("\n".join(repr(zip(labels, sizes, counts)))) + print("\n".join(repr(z) for z in zip(labels, sizes, counts))) size = max(10, len(labels)) colormap = plt.get_cmap('tab10' if len(labels) <= 10 else 'tab20') colors = [colormap(idx / size) for idx, _ in enumerate(labels)] diff --git a/fortran/Makefile b/fortran/Makefile index 338e53e3..593148bf 100644 --- a/fortran/Makefile +++ b/fortran/Makefile @@ -5,7 +5,7 @@ FC?=flang-new .PHONY: help help: @echo " $(BLUE)test$(NC) Run through all Fortran tests in sequence." - @echo " $(BLUE)test_auto$(NC) Run through all Fortran tests (parallel execution not implemented)." + @echo " $(BLUE)test_auto$(NC) Run through all Fortran tests (parallel execution not yet implemented)." @echo " $(BLUE)clean$(NC) Clean up any stray files." .PHONY: test