Skip to content

Commit

Permalink
Merge pull request #114 from jedie/dev
Browse files Browse the repository at this point in the history
Bugfix CI: Add "*.snapshot.json" files ;)
  • Loading branch information
jedie authored Aug 2, 2024
2 parents 3dc1875 + a354a81 commit 9c4f466
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.10", "3.9"]
python-version: ["3.12", "3.11", "3.10"]
steps:
- name: Checkout
run: |
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ __pycache__
*.sqlite3
*.json


# Include "ignored" *.json:
!**/fixtures/*.json
!*.snapshot.json

# Django
secret.txt
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ Because this is a project and not really a reuse-able-app ;)
[comment]: <> (✂✂✂ auto generated history start ✂✂✂)

* [v0.18.0.dev1](https://github.com/jedie/django-for-runners/compare/v0.17.4...v0.18.0.dev1)
* 2024-08-02 - Expand test matrix with 3.12 and remove 3.9 support
* 2024-08-02 - Bugfix CI: Add "*.snapshot.json" files ;)
* 2024-08-02 - Add https://pre-commit.com hook
* 2024-08-02 - Replace "safety" by "pip-audit"
* 2024-08-01 - Replace metaweather.com with open-meteo.com
Expand Down
32 changes: 32 additions & 0 deletions for_runners/tests/test_command_import_import_1.snapshot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[
{
"dt": "2024-07-21T14:30:24+01:00",
"latitude": 51.05254,
"longitude": 2.444563
},
{
"dt": "2024-07-21T21:28:31+01:00",
"latitude": 50.944859,
"longitude": 1.8479
},
{
"dt": "2018-02-21T14:30:50+00:00",
"latitude": 51.437889290973544,
"longitude": 6.617012657225132
},
{
"dt": "2018-02-21T14:30:52+00:00",
"latitude": 51.437847297638655,
"longitude": 6.6170057002455
},
{
"dt": "2011-01-13T01:01:01+00:00",
"latitude": 52.518611,
"longitude": 13.376111
},
{
"dt": "2011-01-15T23:59:01+00:00",
"latitude": 46.9466,
"longitude": 7.44412
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[
{
"dt": "2024-07-21T14:30:24+01:00",
"latitude": 51.05254,
"longitude": 2.444563
},
{
"dt": "2024-07-21T21:28:31+01:00",
"latitude": 50.944859,
"longitude": 1.8479
},
{
"dt": "2018-02-21T14:30:50+00:00",
"latitude": 51.437889290973544,
"longitude": 6.617012657225132
},
{
"dt": "2018-02-21T14:30:52+00:00",
"latitude": 51.437847297638655,
"longitude": 6.6170057002455
},
{
"dt": "2011-01-13T01:01:01+00:00",
"latitude": 52.518611,
"longitude": 13.376111
},
{
"dt": "2011-01-15T23:59:01+00:00",
"latitude": 46.9466,
"longitude": 7.44412
}
]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ exclude_lines = [
legacy_tox_ini = """
[tox]
isolated_build = True
envlist = py{311,310,39}
envlist = py{312,311,310}
skip_missing_interpreters = True
[testenv]
Expand Down

0 comments on commit 9c4f466

Please sign in to comment.