From 99de83b189ae7af92dc6269c592b61b31e6d1b34 Mon Sep 17 00:00:00 2001 From: Diego Ferigo Date: Fri, 8 Mar 2024 13:25:32 +0100 Subject: [PATCH 1/3] Update ci_cd.yml --- .github/workflows/ci_cd.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 4468ead..933ed62 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -9,13 +9,13 @@ on: schedule: # * is a special character in YAML so you have to quote this string # Execute a "nightly" build at 2 AM UTC - - cron: '0 2 * * *' + - cron: "0 2 * * *" jobs: package: name: Package the project - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: @@ -26,7 +26,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.*" - name: Install Python tools run: pip install build twine @@ -65,7 +65,7 @@ jobs: fail-fast: false matrix: os: - - ubuntu-22.04 + - ubuntu-latest - macos-latest - windows-latest type: @@ -104,8 +104,6 @@ jobs: run: | sudo apt-get update sudo apt-get install -y --no-install-recommends gazebo - # Remove following line as soon as iDynTree is available on Python 3.11: - pip install --pre idyntree - name: Install conda dependencies if: matrix.type == 'conda' @@ -156,8 +154,7 @@ jobs: publish: name: Publish to PyPI needs: test - if: github.event_name != 'schedule' - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: From c8ce41619b15b000c782c332e1c22d8116624bc7 Mon Sep 17 00:00:00 2001 From: Diego Ferigo Date: Fri, 8 Mar 2024 15:01:23 +0100 Subject: [PATCH 2/3] Update ci_cd.yml --- .github/workflows/ci_cd.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 933ed62..ceddc92 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -1,6 +1,7 @@ name: Python CI/CD on: + workflow_dispatch: push: pull_request: release: @@ -9,7 +10,7 @@ on: schedule: # * is a special character in YAML so you have to quote this string # Execute a "nightly" build at 2 AM UTC - - cron: "0 2 * * *" + - cron: "0 2 * * *" jobs: From 4eb1f3d6d0c1f0f1bc68a19dbc0768551e4697db Mon Sep 17 00:00:00 2001 From: Diego Ferigo Date: Fri, 8 Mar 2024 15:13:02 +0100 Subject: [PATCH 3/3] Update ci_cd.yml --- .github/workflows/ci_cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index ceddc92..42a628f 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -114,6 +114,7 @@ jobs: mashumaro \ numpy \ packaging \ + resolve-robotics-uri-py \ scipy \ xmltodict \ black \