mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 19:48:31 +02:00
38 lines
817 B
YAML
38 lines
817 B
YAML
name: Testing
|
|
|
|
on:
|
|
push:
|
|
branches: [ develop, release ]
|
|
paths:
|
|
- 'jrnl/**'
|
|
- 'features/**'
|
|
- 'tests/**'
|
|
- 'poetry.lock'
|
|
- 'pyproject.toml'
|
|
- '.github/workflows/testing.yaml'
|
|
pull_request:
|
|
branches: [ develop ]
|
|
paths:
|
|
- 'jrnl/**'
|
|
- 'features/**'
|
|
- 'tests/**'
|
|
- 'poetry.lock'
|
|
- 'pyproject.toml'
|
|
- '.github/workflows/testing.yaml'
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash # needed to prevent Windows from using PowerShell
|
|
|
|
jobs:
|
|
test:
|
|
if: >
|
|
! contains(github.event.head_commit.message, '[ci skip]')
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version: [ 3.7, 3.8, 3.9, '3.10' ]
|
|
os: [ ubuntu-latest, macos-latest, windows-latest ]
|
|
steps:
|
|
- uses: ./.github/actions/run_tests.yml
|