Skip to content

Commit

Permalink
Debug test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Sep 19, 2024
1 parent 9454efc commit 34913b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/fortran.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4

- uses: fortran-lang/setup-fortran@v1
id: setup-fortran
with:
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion fortran/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34913b0

Please sign in to comment.