Skip to content

Commit

Permalink
Merge lint and test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
trumully committed Sep 11, 2024
1 parent d4ac0c6 commit bf473de
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 33 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/test.yml → .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Test

name: Test and Lint

on:
push:
Expand All @@ -18,8 +17,18 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true


jobs:
ruff:
name: Lint with ruff
runs-on: ubuntu-22.04
concurrency: lint
steps:
- uses: actions/checkout@v4
- uses: jpetrucciani/ruff-check@main
with:
path: './dynamo/'
flags: '--config ./pyproject.toml'

tests:
name: Test with pytest
runs-on: ubuntu-22.04
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/ruff.yml

This file was deleted.

0 comments on commit bf473de

Please sign in to comment.