Skip to content

Commit

Permalink
ci: Rename yaml files to yml (#7446)
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego authored Mar 9, 2023
1 parent 5afea9e commit 3d8377e
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
paths:
- '**.md'
- '**.toml'
- '.github/workflows/lint-global.yaml'
- .github/workflows/lint-global.yml

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion py-polars/tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3d8377e

Please sign in to comment.