Skip to content

chore: upgrade version of setup-python action #45

chore: upgrade version of setup-python action

chore: upgrade version of setup-python action #45

Workflow file for this run

name: tests
on:
pull_request:
push:
branches:
- master
- develop
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
make init-uv
make install
- name: Format checking with Ruff Format
run: make format
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
make init-uv
make install
- name: Lint with Ruff
run: make lint-python
- name: Lint with Sqlfluff
run: make lint-sql
type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
make init-uv
make install
- name: Type checking with Mypy
run: make type
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
make init-uv
make install
- name: Test with pytest
run: make test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
make init-uv
make install
- name: Verify build
run: make build
# nox:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# python-version:
# - "3.9"
# steps:
# - uses: actions/checkout@v4
# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
# - name: Install dependencies
# run: |
# make init-uv
# make install
# - name: Test with nox
# run: make test-all