forked from SkyTemple/skytemple-randomizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5fe967
commit dbc4d27
Showing
18 changed files
with
131 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,24 @@ name: Build, test and publish | |
on: [push, pull_request] | ||
|
||
jobs: | ||
typechecks: | ||
runs-on: ubuntu-latest | ||
name: Type checks | ||
strategy: | ||
max-parallel: 5 | ||
matrix: | ||
python-version: [ "3.8", "3.9", "3.10" ] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: theCapypara/mypy-check@master | ||
name: Run type checks | ||
with: | ||
mypy_flags: '--config-file mypy.ini' | ||
requirements: '-r requirements.txt' | ||
python_version: '${{ matrix.python-version }}' | ||
|
||
build: | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-latest | ||
name: Build the Python wheel | ||
steps: | ||
# For tags we assume the version in setup.py is correct! | ||
|
@@ -29,7 +45,7 @@ jobs: | |
- name: Build Python wheels | ||
uses: RalfG/[email protected]_x86_64 | ||
with: | ||
python-versions: 'cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310' | ||
python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310' | ||
- name: Upload wheels | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
|
@@ -38,7 +54,7 @@ jobs: | |
deploy: | ||
if: startsWith(github.ref, 'refs/tags/') | ||
needs: build | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-latest | ||
name: Deploy wheels to PyPI | ||
steps: | ||
- name: Download wheels | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
[mypy] | ||
warn_unused_configs = True | ||
mypy_path = . | ||
explicit_package_bases = True | ||
namespace_packages = True | ||
files = skytemple_randomizer/**/*.py | ||
|
||
[mypy-chara_wan.*] | ||
ignore_missing_imports = True | ||
|
||
[mypy-bultins.*] | ||
ignore_missing_imports = True | ||
|
||
[mypy-dungeon_eos.*] | ||
ignore_missing_imports = True | ||
|
||
[mypy-igraph] | ||
ignore_missing_imports = True | ||
|
||
[mypy-ndspy.*] | ||
ignore_missing_imports = True | ||
|
||
[mypy-explorerscript.*] | ||
ignore_missing_imports = True | ||
|
||
[mypy-PIL.*] | ||
ignore_missing_imports = True | ||
|
||
[mypy-pil] | ||
ignore_missing_imports = True | ||
|
||
[mypy-desmume] | ||
ignore_missing_imports = True | ||
|
||
[mypy-Foundation] | ||
ignore_missing_imports = True | ||
|
||
[mypy-appdirs] | ||
ignore_missing_imports = True | ||
|
||
[skytemple_rust.pmd_wan] | ||
ignore_missing_imports = True | ||
|
||
[mypy-gi.*] | ||
ignore_missing_imports = True | ||
|
||
[mypy-skytemple_icons] | ||
ignore_missing_imports = True | ||
|
||
[mypy-pypresence] | ||
ignore_missing_imports = True | ||
|
||
[mypy-jsonschema] | ||
ignore_missing_imports = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ explorerscript==0.1.0 | |
PyYAML==5.4.1 | ||
jsonschema==4.1.2 | ||
packaging | ||
types-PyYAML |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.