Skip to content

Commit

Permalink
disable_test-content-infrastructure_step (#4291)
Browse files Browse the repository at this point in the history
* disable_test-content-infrastructure_step

* remove test-content-infrastructure step
  • Loading branch information
israelpoli authored May 21, 2024
1 parent 85525ca commit 2e70fc3
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,50 +223,6 @@ jobs:
echo "Skipping coveralls"
fi
test-content-infrastructure:
runs-on: ubuntu-latest
name: Test Content Infrastructure
steps:
- name: Checkout SDK
uses: actions/checkout@v4

- name: Checkout content
uses: actions/checkout@v4
with:
repository: demisto/content
path: content

- name: Get commit hash
id: get-commit
run: echo commit=$(git rev-parse HEAD) >> $GITHUB_OUTPUT

- name: Python ${{ matrix.python-version }} - Setup Environment
uses: ./.github/actions/setup_environment
with:
python-version: "3.11"
working-dir: content
poetry-install-arguments: "--with ci"

- name: Un-install content version of SDK
run: |
cd content
poetry run pip uninstall demisto-sdk -y
- name: Install current SDK branch
run: |
cd content
poetry run pip install git+https://github.com/demisto/demisto-sdk@${{ steps.get-commit.outputs.commit }}
- name: Run content unit tests
timeout-minutes: 60
env:
PYTHONPATH: ${{ github.workspace }}/content
run: |
cd content
poetry run pytest ./Tests/scripts/infrastructure_tests/ -v
poetry run pytest ./Tests/Marketplace/Tests/ -v
poetry run pytest ./Tests/tests -v
poetry run pytest ./Tests/private_build/tests -v
poetry run pytest Utils -v
test-pre-commit-command:
runs-on: ubuntu-latest
name: Test Pre-Commit Command
Expand Down Expand Up @@ -456,7 +412,6 @@ jobs:
unit-tests,
integration-tests,
graph-tests,
test-content-infrastructure,
test-pre-commit-command,
test-graph-commands,
validate-files-old-validate,
Expand Down

0 comments on commit 2e70fc3

Please sign in to comment.