From a2b106bf893d5fa188b778d2c10a51dae8da2d23 Mon Sep 17 00:00:00 2001 From: Licini Date: Thu, 25 Jan 2024 10:06:41 +0100 Subject: [PATCH 1/2] update workflow --- .github/workflows/build.yml | 3 +-- .github/workflows/docs.yml | 6 +++--- .github/workflows/release.yml | 9 ++++----- CHANGELOG.md | 2 ++ 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d8b5aeaa..b3bed2bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,5 @@ jobs: - uses: compas-dev/compas-actions.build@v3 with: invoke_lint: true - check_import: true - use_conda: true + invoke_test: true python: ${{ matrix.python }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 54d4768a..91261643 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,9 +12,9 @@ on: jobs: docs: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - - uses: compas-dev/compas-actions.docs@v2 + - uses: compas-dev/compas-actions.docs@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - use_conda: true + doc_url: https://blockresearchgroup.github.io/compas_fd diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bcdcc1cf..11d8fac0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,15 +10,14 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-latest, windows-latest] + os: [macos-latest, windows-latest, ubuntu-latest] python: ['3.8', '3.9', '3.10'] steps: - - uses: compas-dev/compas-actions.build@v2 + - uses: compas-dev/compas-actions.build@v3 with: - test_lint: true - test_compas: true - use_conda: true + invoke_lint: true + invoke_test: true python: ${{ matrix.python }} Publish: diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e94ead8..9006ed24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +* Updated workflows. + ### Removed From 3ed02e322b3dc93086f8249d6de1401d57e0fd77 Mon Sep 17 00:00:00 2001 From: Licini Date: Thu, 25 Jan 2024 10:09:51 +0100 Subject: [PATCH 2/2] lint --- src/compas_fd/install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compas_fd/install.py b/src/compas_fd/install.py index 1d9be61f..61b8e1a4 100644 --- a/src/compas_fd/install.py +++ b/src/compas_fd/install.py @@ -1,6 +1,6 @@ from compas.plugins import plugin -@plugin(category='install', tryfirst=True) +@plugin(category="install", tryfirst=True) def installable_rhino_packages(): - return ['compas_fd'] + return ["compas_fd"]