-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 865 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: '🧪 Test'
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
py-test:
uses: ./.github/workflows/tox-pytest.yml
with:
enable-test: true
# determine-changes:
# if: |
# github.event_name != 'pull_request' ||
# github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
# runs-on: ubuntu-latest
# outputs:
# has-changes: ${{ fromJson(steps.filter.outputs.changes)[0] != null }}
# py: ${{ steps.filter.outputs.py }}
# py-test: ${{ steps.filter.outputs.py-test }}
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Categorize changed files
# uses: dorny/paths-filter@v2
# id: filter
# with:
# filters: .github/settings/test-filters.yml