This repository was archived by the owner on Feb 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +131
-100
lines changed Expand file tree Collapse file tree 6 files changed +131
-100
lines changed Original file line number Diff line number Diff line change 36
36
- uses : softprops/action-gh-release@v1
37
37
with :
38
38
files : dist/*
39
- prerelease : true
40
39
tag_name : ${{ steps.build.outputs.version }}
40
+ name : ${{ steps.build.outputs.version }}
41
+ generate_release_notes : true
Original file line number Diff line number Diff line change @@ -5,10 +5,18 @@ name: Test
5
5
6
6
on :
7
7
push :
8
+ branches :
9
+ - dev
10
+ - dev/**
11
+ paths :
12
+ - src/**
13
+ - poetry.lock
14
+ - .github/workflows/ci.yml
8
15
9
16
jobs :
10
17
test :
11
18
runs-on : ubuntu-latest
19
+ if : " !contains(github.event.head_commit.message, '@no-test')"
12
20
strategy :
13
21
matrix :
14
22
python-version : ["3.10", "3.7"]
43
51
44
52
merge :
45
53
runs-on : ubuntu-latest
54
+ if : " !contains(github.event.head_commit.message, '@no-pr')"
46
55
needs : test
47
56
steps :
48
57
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change 1
1
# See https://pre-commit.com for more information
2
2
# See https://pre-commit.com/hooks.html for more hooks
3
+ fail_fast : true
3
4
repos :
4
5
- repo : https://github.com/pre-commit/pre-commit-hooks
5
6
rev : v4.3.0
8
9
- id : end-of-file-fixer
9
10
- id : check-yaml
10
11
- id : check-added-large-files
11
- - id : check-toml
12
- - repo : https://github.com/pycqa/isort
13
- rev : 5.10.1
12
+ - repo : local
14
13
hooks :
14
+ - id : poetry
15
+ name : poetry check
16
+ entry : poetry check
17
+ pass_filenames : false
18
+ language : system
19
+ files : pyproject.toml
20
+ - id : poetry
21
+ name : poetry lock
22
+ entry : poetry lock -v
23
+ pass_filenames : false
24
+ language : system
15
25
- id : isort
16
26
name : isort (python)
17
- - repo : https://github.com/psf/black
18
- rev : 22.8.0
19
- hooks :
27
+ entry : poetry run isort .
28
+ pass_filenames : false
29
+ language : system
30
+ types : [python]
20
31
- id : black
32
+ name : Black
33
+ entry : poetry run black .
34
+ pass_filenames : false
35
+ language : system
36
+ types : [python]
37
+ - id : pytest
38
+ name : pytest-check
39
+ entry : poetry run pytest test
40
+ language : system
41
+ pass_filenames : false
42
+ types : [python]
21
43
default_language_version :
22
44
python : python3
Original file line number Diff line number Diff line change 3
3
Update assets from network. This repo is a component of [ QzEmoji] [ qzemoji ] .
4
4
5
5
[ ![ python] ( https://img.shields.io/badge/python-%E2%89%A53.7%2C%3C4.0-blue )] [ homepage ]
6
- [ ![ Test] ( https://github.com/JamzumSum/AssetsUpdater/actions/workflows/test .yml/badge.svg )] ( https://github.com/JamzumSum/AssetsUpdater/actions/workflows/test .yml )
6
+ [ ![ Test] ( https://github.com/JamzumSum/AssetsUpdater/actions/workflows/ci .yml/badge.svg )] ( https://github.com/JamzumSum/AssetsUpdater/actions/workflows/ci .yml )
7
7
[ ![ Release] ( https://img.shields.io/github/v/release/JamzumSum/AssetsUpdater?include_prereleases&logo=github )] ( https://github.com/JamzumSum/AssetsUpdater/releases )
8
8
9
9
You can’t perform that action at this time.
0 commit comments