diff --git a/.github/workflows/ci-python-sdk.yaml b/.github/workflows/ci-python-sdk.yaml index 3c430b516..ddc9bd271 100644 --- a/.github/workflows/ci-python-sdk.yaml +++ b/.github/workflows/ci-python-sdk.yaml @@ -193,7 +193,7 @@ jobs: - run: pip3 install nox - run: nox -s test_examples_by_dependency -- --cov=src --cov-report=xml --cov-branch - name: Upload coverage - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: coverage${{ matrix.group }} path: ./python-sdk/.coverage @@ -258,7 +258,7 @@ jobs: - run: pip3 install nox - run: nox -s "test-${{ matrix.version }}(airflow='2.8')" -- tests/ --cov=src --cov-report=xml --cov-branch - name: Upload coverage - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: coverage-unit-test path: ./python-sdk/.coverage @@ -339,12 +339,12 @@ jobs: - run: nox -s "test-3.10(airflow='2.8')" -- tests_integration/ -k "test_load_file.py and not redshift" --splits 3 --group ${{ matrix.group }} --store-durations --durations-path /tmp/durations-${{ matrix.group }} --cov=src --cov-report=xml --cov-branch - run: cat /tmp/durations-${{ matrix.group }} - name: Upload coverage - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: coverage-${{ matrix.group }}-integration-tests path: ./python-sdk/.coverage - name: Collect pytest durations - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: pytest_durations_load_file_${{ matrix.group }} path: /tmp/durations-${{ matrix.group }} @@ -440,12 +440,12 @@ jobs: - run: nox -s "test-3.10(airflow='2.8')" -- tests_integration/ -k "test_example_dags.py and not redshift" --splits 3 --group ${{ matrix.group }} --store-durations --durations-path /tmp/durations-${{ matrix.group }} --cov=src --cov-report=xml --cov-branch - run: cat /tmp/durations-${{ matrix.group }} - name: Upload coverage - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: coverage-${{ matrix.group }}-integration-tests path: ./python-sdk/.coverage - name: Collect pytest durations - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: pytest_durations_example_dags_${{ matrix.group }} path: /tmp/durations-${{ matrix.group }} @@ -541,12 +541,12 @@ jobs: - run: nox -s "test-3.10(airflow='2.8')" -- tests_integration/ -k "not test_load_file.py and not test_example_dags.py and not redshift" --splits 11 --group ${{ matrix.group }} --store-durations --durations-path /tmp/durations-${{ matrix.group }} --cov=src --cov-report=xml --cov-branch - run: cat /tmp/durations-${{ matrix.group }} - name: Upload coverage - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: coverage-${{ matrix.group }}-integration-tests path: ./python-sdk/.coverage - name: Collect pytest durations - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: pytest_durations_integration_tests_${{ matrix.group }} path: /tmp/durations-${{ matrix.group }} @@ -596,7 +596,7 @@ jobs: - run: pip3 list --format=freeze > constraints-${{ matrix.python }}-${{ matrix.airflow }} - run: cat constraints-${{ matrix.python }}-${{ matrix.airflow }} - name: Upload constraints - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: constraints-${{ matrix.python }}-${{ matrix.airflow }} path: ./python-sdk/constraints-${{ matrix.python }}-${{ matrix.airflow }}