Skip to content

Commit

Permalink
Adding flit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
blast-hardcheese committed Jun 21, 2024
1 parent 62114d2 commit 921f710
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 0 deletions.
1 change: 1 addition & 0 deletions test-suite/Install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ var testInstalls = map[string]bool{
"nodejs-yarn": true,
"python3-poetry": true,
"python3-pip": true,
"python3-flit": true,
}

func TestInstall(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions test-suite/templates/python3-flit/many-deps/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__pycache__/
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'''
many-deps: This is a package for testing flit
'''

__version__ = '0.0.0'
9 changes: 9 additions & 0 deletions test-suite/templates/python3-flit/many-deps/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "many_deps"
authors = [{name = "Developer Experience", email = "[email protected]"}]
dynamic = ["version", "description"]
dependencies = ["django>=4.2.6,<5.0.0"]
1 change: 1 addition & 0 deletions test-suite/templates/python3-flit/no-deps/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__pycache__/
5 changes: 5 additions & 0 deletions test-suite/templates/python3-flit/no-deps/no_deps/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'''
no-deps: This is a package for testing flit
'''

__version__ = '0.0.0'
9 changes: 9 additions & 0 deletions test-suite/templates/python3-flit/no-deps/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "no_deps"
authors = [{name = "Developer Experience", email = "[email protected]"}]
dynamic = ["version", "description"]
dependencies = ["django>=4.2.6,<5.0.0"]
1 change: 1 addition & 0 deletions test-suite/templates/python3-flit/one-dep/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__pycache__/
5 changes: 5 additions & 0 deletions test-suite/templates/python3-flit/one-dep/one_dep/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'''
one-dep: This is a package for testing flit
'''

__version__ = '0.0.0'
9 changes: 9 additions & 0 deletions test-suite/templates/python3-flit/one-dep/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "one_dep"
authors = [{name = "Developer Experience", email = "[email protected]"}]
dynamic = ["version", "description"]
dependencies = ["django>=4.2.6,<5.0.0"]

0 comments on commit 921f710

Please sign in to comment.