Commit Graph

287 Commits

Author SHA1 Message Date
Bruno Alla
e1141d6999 Remove pytest-xdist to try get a better output 2020-03-03 20:33:44 +00:00
Bruno Alla
fab6b8724a Test isort flake8-isort & fix issues
fixes #2123
2020-03-03 20:04:31 +00:00
Bruno Alla
33f210abc4 Simplify setup for the automated tests 2020-02-29 17:31:16 +00:00
browniebroke
b84017a8a8 Update pytest_cases from 1.12.1 to 1.12.2 2020-02-19 11:00:32 +00:00
pyup-bot
a857038e13 Update tox from 3.14.4 to 3.14.5 2020-02-17 02:52:00 -08:00
pyup-bot
8c945af82a Update pytest-cookies from 0.5.0 to 0.5.1 2020-02-14 08:34:04 -08:00
pyup-bot
b64cb03b17 Update tox from 3.14.3 to 3.14.4 2020-02-13 16:59:38 -08:00
pyup-bot
06c7628a4c Update pytest-cookies from 0.4.0 to 0.5.0 2020-02-03 01:45:39 -08:00
browniebroke
a0e2e7aa05 Update pytest from 5.3.4 to 5.3.5 2020-01-30 11:00:30 +00:00
browniebroke
f9564485f5 Update pytest_cases from 1.12.0 to 1.12.1 2020-01-29 11:00:31 +00:00
browniebroke
a0fff1d085 Update pytest from 5.3.3 to 5.3.4 2020-01-21 11:00:33 +00:00
browniebroke
546168c64b Update pytest from 5.3.2 to 5.3.3 2020-01-18 11:00:33 +00:00
Bruno Alla
d04c5b18d7
Update pyyaml to 5.3 (#2390)
Update pyyaml to 5.3
2020-01-11 13:47:08 +00:00
Bruno Alla
4d0e3e2984
Update tox to 3.14.3 (#2384)
Update tox to 3.14.3
2020-01-11 13:40:37 +00:00
browniebroke
f0e06a2a17 Update pyyaml from 5.2 to 5.3 2020-01-07 11:00:32 +00:00
browniebroke
028728351a Update tox from 3.14.2 to 3.14.3 2019-12-28 08:00:31 -03:00
pyup-bot
afc7235d57 Update cookiecutter from 1.6.0 to 1.7.0 2019-12-22 19:37:15 -08:00
Bruno Alla
d1dc017e63
Update pytest-xdist to 1.31.0 (#2376)
Update pytest-xdist to 1.31.0
2019-12-20 09:32:09 -03:00
browniebroke
85efbda003 Update pytest-xdist from 1.30.0 to 1.31.0 2019-12-20 08:00:32 -03:00
browniebroke
311b96b169 Update pytest_cases from 1.11.9 to 1.12.0 2019-12-20 08:00:29 -03:00
pyup-bot
32e42cb0ec Update pytest from 5.3.1 to 5.3.2 2019-12-15 02:56:41 -08:00
browniebroke
37bc459796 Update pytest_cases from 1.11.8 to 1.11.9 2019-12-12 08:00:31 -03:00
pyup-bot
79da1482a5 Update flake8 from 3.7.8 to 3.7.9 2019-12-03 08:01:37 -08:00
Bruno Alla
f5bcc4a832
Update pyyaml to 5.2 (#2343)
Update pyyaml to 5.2
2019-12-03 14:11:12 +00:00
browniebroke
a7ed8e9fee Update pyyaml from 5.1.2 to 5.2 2019-12-03 11:00:37 +00:00
browniebroke
4a185510e3 Update tox from 3.14.1 to 3.14.2 2019-12-03 11:00:33 +00:00
pyup-bot
a1669324e8 Update pytest from 5.3.0 to 5.3.1 2019-11-27 02:41:09 -08:00
browniebroke
528027f2b0 Update pytest_cases from 1.11.7 to 1.11.8 2019-11-23 11:00:30 +00:00
browniebroke
5a7e6671d6 Update pytest from 5.2.4 to 5.3.0 2019-11-20 11:00:33 +00:00
browniebroke
7a6bbcb083 Update pytest_cases from 1.11.5 to 1.11.7 2019-11-18 11:00:42 +00:00
browniebroke
44e404845b Update pytest from 5.2.3 to 5.2.4 2019-11-16 11:00:31 +00:00
browniebroke
7a9f133fc3 Update pytest from 5.2.2 to 5.2.3 2019-11-15 11:00:32 +00:00
pyup-bot
ecb2b25994 Update tox from 3.14.0 to 3.14.1 2019-11-13 15:22:52 -08:00
browniebroke
66c4f630a7 Update pytest_cases from 1.11.4 to 1.11.5 2019-11-06 12:00:34 +01:00
pyup-bot
bb6188d431 Update black from 19.3b0 to 19.10b0 2019-10-28 21:10:07 -05:00
Bruno Alla
2bec4bdc7f
Merge branch 'master' into pyup-update-pytest_cases-1.11.3-to-1.11.4 2019-10-25 13:44:58 +01:00
browniebroke
bd61b79732 Update pytest from 5.2.1 to 5.2.2 2019-10-25 12:00:36 +01:00
browniebroke
662ca22205 Update pytest_cases from 1.11.3 to 1.11.4 2019-10-24 12:00:29 +01:00
browniebroke
973fbfe7a4 Update pytest from 5.2.0 to 5.2.1 2019-10-07 12:00:30 +01:00
pyup-bot
0e5902027e Update pytest-xdist from 1.29.0 to 1.30.0 2019-10-01 15:06:58 -07:00
pyup-bot
da15657224 Update pytest_cases from 1.11.2 to 1.11.3 2019-10-01 08:29:41 -07:00
pyup-bot
d6b0bf8bb0 Update pytest from 5.1.3 to 5.2.0 2019-09-30 00:04:00 -07:00
pyup-bot
26ecff778e Update pytest from 5.1.2 to 5.1.3 2019-09-22 00:50:31 -07:00
Bruno Alla
1df888b2b6
Merge branch 'master' into pyup-update-pytest-5.1.1-to-5.1.2 2019-09-05 18:53:46 +02:00
pyup-bot
fb3d4ff25c Update pytest_cases from 1.11.1 to 1.11.2 2019-09-05 08:35:31 -07:00
pyup-bot
1c98ff011b Update pytest from 5.1.1 to 5.1.2 2019-09-04 11:05:03 -07:00
pyup-bot
7fd095a926 Update tox from 3.13.2 to 3.14.0 2019-09-03 21:17:42 -07:00
browniebroke
e82a7d0fb2 Update pytest from 5.1.0 to 5.1.1 2019-08-21 13:00:29 +02:00
browniebroke
7594b4f030 Update pytest from 5.0.1 to 5.1.0 2019-08-16 12:00:28 +01:00
browniebroke
b4349cafdc Update pytest_cases from 1.10.1 to 1.11.1 2019-08-02 12:00:29 +01:00
pyup-bot
5e9f6f3aac Update pyyaml from 5.1.1 to 5.1.2 2019-07-31 17:45:48 -07:00
browniebroke
6fa463d0a1 Update flake8 from 3.7.7 to 3.7.8 2019-07-09 12:00:28 +01:00
browniebroke
ed9fcb9092 Update pytest from 5.0.0 to 5.0.1 2019-07-06 12:00:29 +01:00
browniebroke
d3e50de3b7 Update pytest-cookies from 0.3.0 to 0.4.0 2019-07-05 12:00:28 +01:00
browniebroke
f557d26ee5 Update pytest_cases from 1.9.3 to 1.10.1 2019-07-04 12:00:29 +01:00
browniebroke
ba83326a78 Update tox from 3.13.1 to 3.13.2 2019-07-02 12:00:28 +01:00
pyup-bot
dff4693869 Update pytest from 4.6.3 to 5.0.0 2019-06-30 07:07:30 -07:00
browniebroke
48cfa4e5ea Update pytest_cases from 1.9.2 to 1.9.3 2019-06-28 12:00:29 +01:00
Bruno Alla
692ee59994
Update pytest_cases to 1.9.2 (#2132)
Update pytest_cases to 1.9.2
2019-06-26 14:24:40 +01:00
browniebroke
64169d0a35 Update pytest_cases from 1.9.1 to 1.9.2 2019-06-26 12:00:29 +01:00
pyup-bot
541b2f2fc0 Update tox from 3.12.1 to 3.13.1 2019-06-26 03:46:17 -07:00
pyup-bot
784075e4d4 Update pytest_cases from 1.9.0 to 1.9.1 2019-06-25 04:28:27 -07:00
pyup-bot
7166b92bf0 Update pytest_cases from 1.7.0 to 1.9.0 2019-06-17 11:03:35 -04:00
Bruno Alla
bc69cbebb5
Update pytest-xdist to 1.29.0 (#2112)
Update pytest-xdist to 1.29.0
2019-06-14 23:24:24 +01:00
pyup-bot
53a6349e92 Update pytest-xdist from 1.28.0 to 1.29.0 2019-06-14 14:16:20 -07:00
browniebroke
94d0b7b776 Update pytest_cases from 1.6.3 to 1.7.0 2019-06-14 12:00:30 +01:00
browniebroke
44688b2d43 Update pytest from 4.6.2 to 4.6.3 2019-06-12 12:00:29 +01:00
pyup-bot
59fcf9359b Update pyyaml from 5.1 to 5.1.1 2019-06-07 00:19:38 -07:00
pyup-bot
32e683f637 Update pytest from 4.6.0 to 4.6.2 2019-06-03 13:45:32 -07:00
browniebroke
53994b4f16 Update pytest from 4.5.0 to 4.6.0 2019-06-02 12:00:29 +01:00
browniebroke
4196d7e52f Update pytest_cases from 1.6.2 to 1.6.3 2019-05-29 12:00:37 +01:00
pyup-bot
4054105d63 Update tox from 3.11.1 to 3.12.1 2019-05-23 20:33:13 -07:00
Bruno Alla
e6458d7c07 Update flake8 from 3.7.6 to 3.7.7 2019-05-17 22:37:35 +01:00
browniebroke
c3f6df2eae Update tox from 3.11.0 to 3.11.1 2019-05-16 12:00:38 +01:00
pyup-bot
78d81d6f87 Update tox from 3.10.0 to 3.11.0 2019-05-15 10:45:37 -07:00
Bruno Alla
a245651f66 Increase test parallelism
- Split out tests and add markers to control where they are run in Travis
- Run each marker on a separate Travis task
- Install pytest-xdist to increase parallelism inside each worker
- Set xdist parallelism to 3
2019-05-15 12:37:17 +01:00
pyup-bot
dac16d6c40 Update tox from 3.9.0 to 3.10.0 2019-05-13 16:15:56 -07:00
browniebroke
bad8e972c5 Update pytest from 4.4.2 to 4.5.0 2019-05-12 12:00:29 +01:00
browniebroke
642521dc5e Update pytest from 4.4.1 to 4.4.2 2019-05-09 12:00:32 +01:00
pyup-bot
a1692ef541 Update tox from 3.8.6 to 3.9.0 2019-04-17 19:13:06 -07:00
browniebroke
9137bb561f Update pytest from 4.4.0 to 4.4.1 2019-04-16 12:00:29 +01:00
browniebroke
749920e81c Update pytest_cases from 1.6.1 to 1.6.2 2019-04-06 13:00:29 +02:00
Bruno Alla
1534cea9d3
Merge pull request #2020 from pydanny/pyup-update-pytest_cases-1.5.1-to-1.6.1
Update pytest_cases to 1.6.1
2019-04-03 18:52:29 +01:00
pyup-bot
c80bcb8932 Update pytest_cases from 1.5.1 to 1.6.1 2019-04-03 10:24:15 -07:00
pyup-bot
0aafad16dd Update tox from 3.8.4 to 3.8.6 2019-04-03 10:24:10 -07:00
pyup-bot
96934ab3e4 Update tox from 3.8.3 to 3.8.4 2019-04-01 20:07:42 -07:00
pyup-bot
e55d76529b Update pytest from 4.3.1 to 4.4.0 2019-04-01 00:47:56 -07:00
Bruno Alla
4e70a4b55a
Test all possible template combinations (#1993)
## Description

Fixes #591.

## Rationale

We are currently not testing many combinations, we run Flake8 on the generated project with default options, but that rarely catch any issues.

## Use case(s) / visualization(s)

Catch problems with invalid combinations, for instance, it fails due to Whitenoise breaking flake8 with `django-compressor` because `STATIC_URL` was undefined here:

b91c70d755/%7B%7Bcookiecutter.project_slug%7D%7D/config/settings/production.py (L185)
2019-04-01 08:47:46 +01:00
pyup-bot
da51b7a364 Update tox from 3.8.1 to 3.8.3 2019-03-29 09:58:15 -07:00
pyup-bot
c33417aa42 Update tox from 3.8.0 to 3.8.1 2019-03-28 18:52:24 -07:00
pyup-bot
7e60f1259a Update tox from 3.6.1 to 3.8.0 2019-03-27 14:15:44 -07:00
pyup-bot
aee746b5a2 Update pyyaml from 3.13 to 5.1 2019-03-13 10:40:27 -07:00
pyup-bot
2edd51aa77 Update pytest from 4.3.0 to 4.3.1 2019-03-13 05:37:54 -04:00
btknu
6e72169ffe Add missing script key to Travis CI config (#1950)
* Add failing test for travis.yml

I see three options to test travis.yml :

1. Testing that the YAML contains relevant value. Least useful and least
reliable, but simplest to implement.

2. Testing that the YAML is valid TravisCI YAML. Unfortunately this is
difficult / impossible. Doing 'travis lint' would succeed, this command
does not check for 'script' key presence and wouldn't be useful for us.

We could use 'travis-build' to verify that the YAML can be converted to
a worker config, but as of now 'travis-build' doesn't work out of the
box.

There is a new tool for validating travis YAML files 'travis-yml', but
as of now it's a ruby-only library and it's still a work in progress.

3. Running Travis CI task based on the generated YAML. This seems the
best approach, however since cookiecutter-django itself uses Travis CI,
that would require running Travis CI from within Travis CI.

Scheduling Travis CI job without a github push still requires a public
github repo, which is something that we can't generate on demand.

Given that I'm opting to use approach 1.

* Adds missing config to generated .travis.yml

The keys added are as follows:

1. 'script'

Required by Travis, cookiecutter-django used to provide it until it has
been removed together with hitch.

I'm assuming hitch has been replaced with pytest, I'm setting pytest as
the new value for the 'script' key.

2. 'install'

Not required by Travis, but necessary in our case; installs test
libraries, mostly pytest.

As of now this points to 'local.txt' requirements file. There used to be
a separate 'test.txt' requirements file but it has been decided to merge
it with 'local.txt', see discussion in
https://github.com/pydanny/cookiecutter-django/pull/1557 .

* Update CONTRIBUTORS.rst
2019-03-05 22:10:45 -03:00
pyup.io bot
b09d840b54 Update flake8 from 3.7.5 to 3.7.6 (#1943) 2019-02-20 20:10:52 +03:00
pyup.io bot
407ccb64ba Update pytest from 4.2.1 to 4.3.0 (#1944) 2019-02-20 20:10:41 +03:00
pyup-bot
0f8275911b Update pytest from 4.2.0 to 4.2.1 2019-02-16 03:34:22 -08:00
pyup-bot
ce23247401 Update flake8 from 3.7.4 to 3.7.5 2019-02-04 18:46:33 -08:00
pyup-bot
57c18bb2a0 Update flake8 from 3.7.3 to 3.7.4 2019-02-01 06:53:35 -08:00
Bruno Alla
11e7adfbd4
Merge pull request #1920 from pydanny/pyup-update-flake8-3.6.0-to-3.7.3
Update flake8 to 3.7.3
2019-01-31 16:52:30 +01:00