From 89f4545843ced7196d08c99bb12bdfedbba60879 Mon Sep 17 00:00:00 2001 From: Brian Wignall Date: Sat, 12 Nov 2022 18:55:16 -0500 Subject: [PATCH 1/2] Add dictionaries to GH actions --- .github/workflows/code-checks.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml index dfd98c8..7704686 100644 --- a/.github/workflows/code-checks.yml +++ b/.github/workflows/code-checks.yml @@ -17,6 +17,9 @@ jobs: - name: Install pipenv run: pip install pipenv + - name: Install dictionaries + run: sudo apt-get install wamerican-huge wbritish-huge + - name: Run tests run: | pipenv install --dev @@ -35,5 +38,8 @@ jobs: with: python-version: 3.6 + - name: Install dictionaries + run: sudo apt-get install wamerican-huge wbritish-huge + - name: Run pre-commit - uses: pre-commit/action@v2.0.3 \ No newline at end of file + uses: pre-commit/action@v2.0.3 From d90e810e770d37323501bf72e1d11d946b6ac67e Mon Sep 17 00:00:00 2001 From: Brian Wignall Date: Sat, 12 Nov 2022 18:58:02 -0500 Subject: [PATCH 2/2] Remove CI hook for pre-commit tool --- .github/workflows/code-checks.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml index 7704686..fdc08fd 100644 --- a/.github/workflows/code-checks.yml +++ b/.github/workflows/code-checks.yml @@ -24,22 +24,3 @@ jobs: run: | pipenv install --dev pipenv run pytest - - pre_commit: - name: pre-commit - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Install Python - uses: actions/setup-python@v3 - with: - python-version: 3.6 - - - name: Install dictionaries - run: sudo apt-get install wamerican-huge wbritish-huge - - - name: Run pre-commit - uses: pre-commit/action@v2.0.3