diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yml similarity index 93% rename from .github/workflows/benchmark.yaml rename to .github/workflows/benchmark.yml index bad1b83db8d9..05f78cc2edac 100644 --- a/.github/workflows/benchmark.yaml +++ b/.github/workflows/benchmark.yml @@ -3,10 +3,10 @@ name: Benchmark on: pull_request: paths: - - "polars/**" - - "Cargo.toml" - - "py-polars/tests/benchmark/**" - - ".github/workflows/benchmark.yaml" + - polars/** + - Cargo.toml + - py-polars/tests/benchmark/** + - .github/workflows/benchmark.yml concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -40,7 +40,7 @@ jobs: - name: Set up R uses: r-lib/actions/setup-r@v2 with: - r-version: "3.5.3" + r-version: '3.5.3' - name: Generate data working-directory: py-polars/tests/benchmark diff --git a/.github/workflows/build-test-rust.yaml b/.github/workflows/build-test-rust.yml similarity index 97% rename from .github/workflows/build-test-rust.yaml rename to .github/workflows/build-test-rust.yml index 9bebf3fda72d..de97c7d4115e 100644 --- a/.github/workflows/build-test-rust.yaml +++ b/.github/workflows/build-test-rust.yml @@ -3,8 +3,8 @@ name: Build and test Rust on: pull_request: paths: - - 'polars/**' - - '.github/workflows/build-test-rust.yaml' + - polars/** + - .github/workflows/build-test-rust.yml concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/create-python-release.yaml b/.github/workflows/create-python-release.yml similarity index 100% rename from .github/workflows/create-python-release.yaml rename to .github/workflows/create-python-release.yml diff --git a/.github/workflows/lint-global.yaml b/.github/workflows/lint-global.yml similarity index 86% rename from .github/workflows/lint-global.yaml rename to .github/workflows/lint-global.yml index fa5d24223323..ecd380d80ef4 100644 --- a/.github/workflows/lint-global.yaml +++ b/.github/workflows/lint-global.yml @@ -5,7 +5,7 @@ on: paths: - '**.md' - '**.toml' - - '.github/workflows/lint-global.yaml' + - .github/workflows/lint-global.yml concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/lint-python.yaml b/.github/workflows/lint-python.yml similarity index 92% rename from .github/workflows/lint-python.yaml rename to .github/workflows/lint-python.yml index 47b0fb12ce23..1acff1eb2714 100644 --- a/.github/workflows/lint-python.yaml +++ b/.github/workflows/lint-python.yml @@ -3,8 +3,8 @@ name: Lint Python on: pull_request: paths: - - 'py-polars/**' - - '.github/workflows/lint-python.yaml' + - py-polars/** + - .github/workflows/lint-python.yml concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -24,8 +24,8 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.11' - cache: 'pip' - cache-dependency-path: 'py-polars/requirements-lint.txt' + cache: pip + cache-dependency-path: py-polars/requirements-lint.txt - name: Install Python dependencies run: | diff --git a/.github/workflows/test-python.yaml b/.github/workflows/test-python.yml similarity index 94% rename from .github/workflows/test-python.yaml rename to .github/workflows/test-python.yml index 1ced6c8d0ce4..410448eee412 100644 --- a/.github/workflows/test-python.yaml +++ b/.github/workflows/test-python.yml @@ -3,9 +3,9 @@ name: Test Python on: pull_request: paths: - - 'py-polars/**' - - 'polars/**' - - '.github/workflows/test-python.yaml' + - py-polars/** + - polars/** + - .github/workflows/test-python.yml concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -98,8 +98,8 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - cache: 'pip' - cache-dependency-path: 'py-polars/requirements-dev.txt' + cache: pip + cache-dependency-path: py-polars/requirements-dev.txt - name: Install Python dependencies run: | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 92726d2dfa3d..3459e277297e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -226,7 +226,7 @@ Start by bumping the version number in the source code: Directly after merging your pull request, release the new version: 8. Go back to the [releases page](https://github.com/pola-rs/polars/releases) and click _Edit_ on the appropriate draft release. -9. On the draft release page, click _Publish release_. This will create a new release and a new tag, which will trigger the GitHub Actions release workflow ([Python](https://github.com/pola-rs/polars/actions/workflows/create-python-release.yaml) / [Rust](https://github.com/pola-rs/polars/actions/workflows/release-rust.yaml)). +9. On the draft release page, click _Publish release_. This will create a new release and a new tag, which will trigger the GitHub Actions release workflow ([Python](https://github.com/pola-rs/polars/actions/workflows/create-python-release.yml) / [Rust](https://github.com/pola-rs/polars/actions/workflows/release-rust.yml)). 10. Wait for all release jobs to finish, then check [crates.io](https://crates.io/crates/polars)/[PyPI](https://pypi.org/project/polars/) to verify that the new Polars release is now available. ### Troubleshooting diff --git a/py-polars/tests/README.md b/py-polars/tests/README.md index 30286980ff19..8030f33ca280 100644 --- a/py-polars/tests/README.md +++ b/py-polars/tests/README.md @@ -103,7 +103,7 @@ The benchmark is somewhat cumbersome to run locally. You must first generate the Make sure to install a release build of Polars before running the benchmark to guarantee the best results. -Refer to the [benchmark workflow](/.github/workflows/benchmark.yaml) for detailed steps. +Refer to the [benchmark workflow](/.github/workflows/benchmark.yml) for detailed steps. ### Running other benchmark tests