diff --git a/.github/workflows/build-test-release.yaml b/.github/workflows/build-test-release.yaml index ff503d99..5acc4ff7 100644 --- a/.github/workflows/build-test-release.yaml +++ b/.github/workflows/build-test-release.yaml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/checkout@v4 - id: matrix - uses: splunk/addonfactory-test-matrix-action@v1.10 + uses: splunk/addonfactory-test-matrix-action@v2.1 fossa-scan: continue-on-error: true @@ -37,7 +37,7 @@ jobs: fossa report attribution --format text > /tmp/THIRDPARTY env: FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: THIRDPARTY path: /tmp/THIRDPARTY @@ -50,16 +50,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: apache/skywalking-eyes@v0.5.0 + - uses: apache/skywalking-eyes@v0.6.0 pre-commit: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 semgrep: uses: splunk/sast-scanning/.github/workflows/sast-scan.yml@main @@ -70,13 +70,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - run: | curl -sSL https://install.python-poetry.org | python3 - --version ${{ env.POETRY_VERSION }} - id: cache-poetry - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/pypoetry key: poetry-${{ runner.os }}-${{ hashFiles('poetry.lock') }} @@ -98,12 +98,12 @@ jobs: - uses: actions/checkout@v4 with: persist-credentials: false - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - run: curl -sSL https://install.python-poetry.org | python3 - --version ${{ env.POETRY_VERSION }} - id: cache-poetry - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/pypoetry key: poetry-${{ runner.os }}-${{ hashFiles('poetry.lock') }} @@ -118,7 +118,7 @@ jobs: --config=tests/testdata/Splunk_TA_UCCExample/globalConfig.json \ --ta-version=0.0.1 if: always() - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: output path: output/* @@ -152,16 +152,16 @@ jobs: ] steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: output path: output/ - run: curl -sSL https://install.python-poetry.org | python3 - --version ${{ env.POETRY_VERSION }} - id: cache-poetry - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/pypoetry key: poetry-${{ runner.os }}-${{ hashFiles('poetry.lock') }} @@ -180,7 +180,7 @@ jobs: ./run_splunk.sh ${{ matrix.splunk.version }} until curl -Lsk "https://localhost:8088/services/collector/health" &>/dev/null ; do echo -n "Waiting for HEC-" && sleep 5 ; done - run: poetry run pytest tests/ui -k "${{ matrix.test_suite }}" --headless --junitxml=test-results/junit.xml - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: test-results-${{ matrix.splunk.version }}_${{ matrix.python-version }}_${{ matrix.browser }}_${{ matrix.test_suite }} @@ -204,7 +204,7 @@ jobs: with: submodules: false persist-credentials: false - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - run: curl -sSL https://install.python-poetry.org | python3 - --version ${{ env.POETRY_VERSION }} diff --git a/pyproject.toml b/pyproject.toml index 2003fc31..fe82e022 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,15 +40,15 @@ selenium = "*" webdriver-manager = "*" msedge-selenium-tools = "*" cssselect = "*" -lxml = "^4.8.0" +lxml = "^5.0.0" pytest-splunk-addon = "^5.0.0" [tool.poetry.plugins] pytest11 = { "ucc-smartx" = "pytest_splunk_addon_ui_smartx.plugin" } [tool.poetry.group.dev.dependencies] -pytest = ">=5.4, <7.3" -splunk-add-on-ucc-framework = "5.48.0" +pytest = ">=8.3, <9" +splunk-add-on-ucc-framework = "5.49.0" pytest-rerunfailures = "^12.0" [build-system]