Skip to content

Commit

Permalink
Create ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
druzhinin-kirill committed Feb 26, 2024
1 parent ee30699 commit 41d0e0e
Show file tree
Hide file tree
Showing 5 changed files with 862 additions and 148 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: dbt-score

on:
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'

push:
branches:
- main
paths-ignore:
- 'docs/**'

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: [ "3.8", "3.9", "3.10", "3.11" ]

steps:
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: '3.8'

- name: Install dependencies
run: |
pdm sync -d
- name: Run Tox
run: |
pdm run tox -e py,lint
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ repos:
- id: tox
name: tox
description: Run tox
entry: pdm run tox
entry: pdm run tox -e py
language: system
pass_filenames: false
Loading

0 comments on commit 41d0e0e

Please sign in to comment.