Skip to content

Commit

Permalink
ci: Only run tests when relevant code changes (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Aug 26, 2024
1 parent 18603fd commit 96e9b09
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,22 @@ name: Test Target CSV
on:
push:
branches: [main]
paths:
- .github/workflows/ci_workflow.yml
- target_csv/**
- tests/**
- poetry.lock
- pyproject.toml
- tox.ini
pull_request:
branches: [main]
paths:
- .github/workflows/ci_workflow.yml
- target_csv/**
- tests/**
- poetry.lock
- pyproject.toml
- tox.ini
workflow_dispatch:

jobs:
Expand All @@ -15,7 +29,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down

0 comments on commit 96e9b09

Please sign in to comment.