move test/lint back to PR and do not make a PR
This commit is contained in:
parent
2049b429ab
commit
92607edb5d
11
.github/workflows/lint_and_test.yml
vendored
11
.github/workflows/lint_and_test.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
name: Lint and Test
|
name: Lint and Test
|
||||||
|
|
||||||
on: [pull_request_target, workflow_dispatch]
|
on: [push, pull_request, workflow_dispatch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint_and_test:
|
lint_and_test:
|
||||||
@ -14,14 +14,5 @@ jobs:
|
|||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: pre-commit run --all-files
|
run: pre-commit run --all-files
|
||||||
- name: Make PR
|
|
||||||
uses: peter-evans/create-pull-request@v3
|
|
||||||
with:
|
|
||||||
base: ${{ github.head_ref }}
|
|
||||||
body: |
|
|
||||||
Fix style/lint issues
|
|
||||||
delete-branch: true
|
|
||||||
reviewers: sumpfork
|
|
||||||
assignees: sumpfork
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: python setup.py test
|
run: python setup.py test
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user