-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from greyli/update-ci
- Loading branch information
Showing
8 changed files
with
103 additions
and
12 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
tests: | ||
name: tests | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- run: python -m pip install --upgrade pip wheel | ||
- run: pip install tox tox-gh-actions | ||
- run: tox |
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 |
---|---|---|
|
@@ -13,3 +13,7 @@ | |
/build/ | ||
/dist/ | ||
/src/Flask_Assets.egg-info/ | ||
venv | ||
tests/static | ||
.eggs/ | ||
|
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 was deleted.
Oops, something went wrong.
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,5 @@ | ||
pytest | ||
Flask-Script | ||
webassets | ||
PyYAML | ||
pyScss |
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,44 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.10 | ||
# by the following command: | ||
# | ||
# pip-compile | ||
# | ||
blinker==1.6.3 | ||
# via flask | ||
click==8.1.7 | ||
# via flask | ||
exceptiongroup==1.1.3 | ||
# via pytest | ||
flask==3.0.0 | ||
# via flask-script | ||
flask-script==2.0.6 | ||
# via -r requirements.in | ||
iniconfig==2.0.0 | ||
# via pytest | ||
itsdangerous==2.1.2 | ||
# via flask | ||
jinja2==3.1.2 | ||
# via flask | ||
markupsafe==2.1.3 | ||
# via | ||
# jinja2 | ||
# werkzeug | ||
packaging==23.2 | ||
# via pytest | ||
pluggy==1.3.0 | ||
# via pytest | ||
pyscss==1.4.0 | ||
# via -r requirements.in | ||
pytest==7.4.2 | ||
# via -r requirements.in | ||
pyyaml==6.0.1 | ||
# via -r requirements.in | ||
six==1.16.0 | ||
# via pyscss | ||
tomli==2.0.1 | ||
# via pytest | ||
webassets==0.11.1 | ||
# via -r requirements.in | ||
werkzeug==3.0.0 | ||
# via flask |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
[tox] | ||
envlist = py26, py27, py33, pypy | ||
envlist = py37, py38, py39, py310, py311, py312 | ||
skip_missing_interpreters = true | ||
|
||
[gh-actions] | ||
python = | ||
3.7: py37 | ||
3.8: py38 | ||
3.9: py39 | ||
3.10: py310 | ||
3.11: py311 | ||
3.12: py312 | ||
|
||
[testenv] | ||
commands = nosetests tests | ||
deps = | ||
-r{toxinidir}/requirements-dev.pip | ||
deps = | ||
-r requirements.txt | ||
commands = | ||
pytest |