From d58a09808c9fc38a1af3f83009faff1973cd22a3 Mon Sep 17 00:00:00 2001 From: Alan O'Cais Date: Wed, 9 Feb 2022 14:39:01 +0100 Subject: [PATCH 1/4] Fix spell checking --- .github/workflows/spellcheck.yml | 17 +++++++++-------- content/02-teaching-philosophies.md | 2 +- content/03-teaching-style.md | 4 ++-- content/lesson-design.md | 4 ++-- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index a12e97e..5a36831 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -1,6 +1,11 @@ name: Spelling Erros Check -on: [push] +on: + push: + branches: + - 'master' + - 'main' + pull_request: jobs: build: @@ -13,11 +18,7 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Install dependencies - run: curl -L https://git.io/misspell | bash - # This will return an exit code of 2, thus triggering a failed build - - name: Test spelling errors - shell: bash - run: | - bin/misspell -error * + - uses: codespell-project/actions-codespell@master + with: + ignore_words_list: abandonned,ackward diff --git a/content/02-teaching-philosophies.md b/content/02-teaching-philosophies.md index 7645cb4..66bae95 100644 --- a/content/02-teaching-philosophies.md +++ b/content/02-teaching-philosophies.md @@ -174,7 +174,7 @@ find the way that is best for each of us. > ## Juho Lehtonen > I'm gradually realising the different ways to get a hint whether the workshop > participants are still following or perhaps bored. I assume it's communicating -> with the class, with excercises and simply by asking now and then. I also try +> with the class, with exercises and simply by asking now and then. I also try > to remember to observe how people look like (puzzled, bored) while I teach, not > so obvious for me. > diff --git a/content/03-teaching-style.md b/content/03-teaching-style.md index f3c24d7..8164130 100644 --- a/content/03-teaching-style.md +++ b/content/03-teaching-style.md @@ -84,7 +84,7 @@ In CodeRefinery, we follow The Carpentries teaching principles but in addition t we often use **group discussions** to put in context the concepts we are teaching. Applying these teaching principles are not sufficient and in addition we need to be able to check -the effectivness of our methods. +the effectiveness of our methods. --- @@ -289,7 +289,7 @@ important to get accurate feedback, before and during the workshops to understan --- -## CodeRefinery Curriculum and Reverse Instructional Design (with recomendations for HPC capentries) +## CodeRefinery Curriculum and Reverse Instructional Design (with recommendations for HPC carpentries) When writing a CodeRefinery lesson, we take a “reverse” approach to instruction, as described in Wiggins and McTighe’s diff --git a/content/lesson-design.md b/content/lesson-design.md index 1c69f4a..a9f6ec7 100644 --- a/content/lesson-design.md +++ b/content/lesson-design.md @@ -120,7 +120,7 @@ Let's take as an example the *[HPC Carpentry lesson](https://hpc-carpentry.githu has developed** during her PhD and that is based on existing libraries. She has mostly ran it on a local desktop; her work during her PhD was very limited due to the lack of computing resources and she is now very keen is - **moving to HPC**; she knows that it will requres some work, in particular to + **moving to HPC**; she knows that it will requires some work, in particular to parallelize her code. This HPC training will be her first experience with HPC. @@ -138,7 +138,7 @@ Let's take as an example the *[HPC Carpentry lesson](https://hpc-carpentry.githu - Get basic information such the number of CPUs, memory from your laptop and try to do the same on a HPC. Discuss outcomes. - Try to create files on the different filesystems on your HPC resource and access them. - Create different types of job scripts, submit and check outputs. - - Make a concrete exaple to run a specific software on your HPC (something like GROMACS). + - Make a concrete example to run a specific software on your HPC (something like GROMACS). ``` ```{challenge} Demo From 256170a142fac8aed65914aaf37836a445aa9e65 Mon Sep 17 00:00:00 2001 From: Alan O'Cais Date: Wed, 9 Feb 2022 14:42:10 +0100 Subject: [PATCH 2/4] Fix last spelling error --- .github/workflows/spellcheck.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 5a36831..093062c 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -1,10 +1,11 @@ -name: Spelling Erros Check +name: Spelling Errors Check on: push: branches: - 'master' - 'main' + - 'codespell-ci' pull_request: jobs: From 537d1c293b7ff231c21a64e81b1fb297ccc5f321 Mon Sep 17 00:00:00 2001 From: Alan O'Cais Date: Wed, 9 Feb 2022 14:44:09 +0100 Subject: [PATCH 3/4] Remove temp push check --- .github/workflows/spellcheck.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 093062c..1118644 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -5,7 +5,6 @@ on: branches: - 'master' - 'main' - - 'codespell-ci' pull_request: jobs: From df52a0f79e17b4fbd8831f46366e110966a452bd Mon Sep 17 00:00:00 2001 From: Alan O'Cais Date: Wed, 9 Feb 2022 14:48:01 +0100 Subject: [PATCH 4/4] Add a sample ignore word --- .github/workflows/spellcheck.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 1118644..327b9d3 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -21,4 +21,4 @@ jobs: - uses: codespell-project/actions-codespell@master with: - ignore_words_list: abandonned,ackward + ignore_words_list: carpentries