Commit 93cb20be authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Benjamin Cabé
Browse files

ci: general pip cleanup

Cleanup all pip commands in the various workflow
- drop the install/upgrade for setuptool pip and wheel, seems like this
  was introduced few years back to work around some old bug and it's not
  needed anymore
- use pip instead of pip3, that's probably been equivalent for quite a
  long time in the CI image

Signed-off-by: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent 6eff6764
Loading
Loading
Loading
Loading
+1 −2
Changes for .github/workflows/assigner.yml: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -24,8 +24,7 @@ jobs:
    steps:
    - name: Install Python dependencies
      run: |
        sudo pip3 install -U setuptools wheel pip
        pip3 install -U PyGithub>=1.55 west
        pip install -U PyGithub>=1.55 west

    - name: Check out source code
      uses: actions/checkout@v4
+1 −2
Changes for .github/workflows/backport_issue_check.yml: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -25,8 +25,7 @@ jobs:

      - name: Install Python dependencies
        run: |
          sudo pip3 install -U setuptools wheel pip
          pip3 install -U pygithub
          pip install -U pygithub

      - name: Run backport issue checker
        env:
+1 −1
Changes for .github/workflows/bsim-tests.yaml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -170,7 +170,7 @@ jobs:

      - name: Merge Test Results
        run: |
          pip3 install junitparser junit2html
          pip install junitparser junit2html
          junitparser merge --glob "./bsim_*/*bsim_results.*.xml" "./twister-out/twister.xml" junit.xml
          junit2html junit.xml junit.html

+1 −2
Changes for .github/workflows/bug_snapshot.yaml: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -25,8 +25,7 @@ jobs:

    - name: Install Python dependencies
      run: |
        sudo pip3 install -U setuptools wheel pip
        pip3 install -U pygithub
        pip install -U pygithub

    - name: Snapshot bugs
      env:
+1 −1
Changes for .github/workflows/clang.yaml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@ jobs:
          path: artifacts
      - name: Merge Test Results
        run: |
          pip3 install junitparser junit2html
          pip install junitparser junit2html
          junitparser merge artifacts/*/twister.xml junit.xml
          junit2html junit.xml junit-clang.html

Loading