Skip to content

Commit

Permalink
feat: init pytest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoHai committed Aug 21, 2024
1 parent 64db783 commit e7488ee
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,15 @@ on:
- petercat_utils/**
- subscriber/**

defaults:
run:
working-directory: ./server

jobs:
build:
runs-on: ubuntu-latest
environment: production
strategy:
fail-fast: true

defaults:
run:
working-directory: ./server
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
Expand All @@ -35,9 +33,9 @@ jobs:
pip install -r requirements.txt
- name: Lint with Ruff
run: |
pip install ruff
ruff check --output-format=github .
run: |
pip install ruff
ruff check --output-format=github .
- name: Test with pytest
run: |
Expand Down

0 comments on commit e7488ee

Please sign in to comment.