mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
No sudo for linux pkg tests
This commit is contained in:
parent
24b3594c3d
commit
f5a516d81c
3 changed files with 2 additions and 16 deletions
9
.github/workflows/lint-action.yml
vendored
9
.github/workflows/lint-action.yml
vendored
|
@ -25,10 +25,6 @@ jobs:
|
|||
image: ghcr.io/saltstack/salt-ci-containers/python:3.10
|
||||
|
||||
steps:
|
||||
- name: Install System Deps
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y enchant-2 git gcc make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev
|
||||
|
||||
- name: Add Git Safe Directory
|
||||
run: |
|
||||
|
@ -69,11 +65,6 @@ jobs:
|
|||
image: ghcr.io/saltstack/salt-ci-containers/python:3.10
|
||||
|
||||
steps:
|
||||
- name: Install System Deps
|
||||
run: |
|
||||
echo "deb http://deb.debian.org/debian bookworm-backports main" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get install -y enchant-2 git gcc make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev
|
||||
|
||||
- name: Add Git Safe Directory
|
||||
run: |
|
||||
|
|
5
.github/workflows/pre-commit-action.yml
vendored
5
.github/workflows/pre-commit-action.yml
vendored
|
@ -31,11 +31,6 @@ jobs:
|
|||
|
||||
steps:
|
||||
|
||||
#- name: Install System Deps
|
||||
# run: |
|
||||
# apt-get update
|
||||
# apt-get install -y wget curl enchant-2 git gcc make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev rustc
|
||||
|
||||
- name: Add Git Safe Directory
|
||||
run: |
|
||||
git config --global --add safe.directory "$(pwd)"
|
||||
|
|
|
@ -189,7 +189,7 @@ jobs:
|
|||
SKIP_REQUIREMENTS_INSTALL: "1"
|
||||
PRINT_SYSTEM_INFO_ONLY: "1"
|
||||
run: |
|
||||
sudo -E nox --force-color -e ${{ inputs.nox-session }}-pkgs -- ${{ matrix.tests-chunk }}
|
||||
nox --force-color -e ${{ inputs.nox-session }}-pkgs -- ${{ matrix.tests-chunk }}
|
||||
|
||||
#- name: Run Package Tests
|
||||
# run: |
|
||||
|
@ -207,7 +207,7 @@ jobs:
|
|||
SKIP_INITIAL_GH_ACTIONS_FAILURES: "1"
|
||||
COVERAGE_CONTEXT: ${{ inputs.distro-slug }}
|
||||
run: |
|
||||
sudo -E nox --force-color -e ${{ inputs.nox-session }}-pkgs -- ${{ matrix.tests-chunk }} \
|
||||
nox --force-color -e ${{ inputs.nox-session }}-pkgs -- ${{ matrix.tests-chunk }} \
|
||||
${{ matrix.version && format('--prev-version={0}', matrix.version) || ''}}
|
||||
|
||||
- name: Upload Test Run Artifacts
|
||||
|
|
Loading…
Add table
Reference in a new issue