feat: use polars dataframe #104
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
check_requirements: | |
runs-on: ubuntu-latest | |
name: Check CI requirements | |
steps: | |
- name: check requirements | |
run: | | |
test -n "${{ secrets.CODECOV_TOKEN }}" || (echo "Please define CODECOV_TOKEN into github repo setting"; exit 1) | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
with: | |
fetch-depth: 0 | |
- name: Conventional commits check | |
uses: oknozor/cocogitto-action@v3 | |
- uses: taiki-e/install-action@v2 | |
with: | |
tool: just@1.14.0 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.36.0 | |
- name: Format | |
run: deno fmt --check --ignore=CHANGELOG.md | |
- name: Lint | |
run: just lint | |
- name: Install requirements | |
run: just install-requirements | |
- name: Coverage | |
run: just coverage | |
- name: Upload coverage | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
files: ./.coverage/cov.lcov | |
test: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
strategy: | |
fail-fast: false | |
matrix: | |
deno: | |
- v1.x | |
- canary | |
os: | |
- ubuntu-22.04 | |
- macOS-12 | |
steps: | |
- uses: actions/checkout@main | |
with: | |
fetch-depth: 0 | |
- uses: taiki-e/install-action@v2 | |
with: | |
tool: just@1.14.0 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.36.0 | |
- name: Install requirements | |
run: just install-requirements | |
- name: Coverage | |
run: just coverage | |
- name: Upload coverage | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
files: ./.coverage/cov.lcov |