From ca5769cd25564c50dbfe26448a39f0d087b44929 Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Thu, 2 Jan 2025 12:07:50 -0600 Subject: [PATCH 1/3] action.yml -> streamline pip installs --- .github/actions/setup/action.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 9a4af025..3dba6696 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -7,16 +7,12 @@ inputs: runs: using: "composite" steps: - - name: python + - name: Setup Python uses: actions/setup-python@v5 with: python-version: ${{ inputs.python-version }} - - name: install requirements + - name: Install Requirements shell: bash run: | - pip install wheel - pip install mypy - pip install pytest - pip install pytest-cov - pip install pylint + pip install wheel mypy pytest pytest-cov pylint pip install . From e14f739781aec1928c4b90d344493e558cf2f4a6 Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Thu, 2 Jan 2025 12:09:46 -0600 Subject: [PATCH 2/3] mypy.yml -> cleanup and update to actions/checkout@v4 --- .github/workflows/mypy.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index ebf3b61d..90086509 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -9,16 +9,17 @@ jobs: python-version: [ "3.10", # "3.11", - "3.12" + "3.12", ] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: ./.github/actions/setup + - uses: actions/checkout@v4 + - name: Setup + uses: ./.github/actions/setup with: python-version: ${{ matrix.python-version }} - - name: typecheck + - name: Typecheck run: | mypy --config-file mypy.ini src/build123d From 7e189f4b2a222b5b46f59671cc3c03cdfc0240e8 Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Tue, 7 Jan 2025 13:55:30 -0600 Subject: [PATCH 3/3] action.yml -> add pytest-benchmark --- .github/actions/setup/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 3dba6696..2bccaa64 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -14,5 +14,5 @@ runs: - name: Install Requirements shell: bash run: | - pip install wheel mypy pytest pytest-cov pylint + pip install wheel mypy pytest pytest-benchmark pytest-cov pylint pip install .