Commit Graph

308 Commits

Author SHA1 Message Date
dependabot[bot]
3441103ac2 Bump docker/build-push-action from 2.4.0 to 2.5.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.4.0...v2.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 05:31:33 +00:00
Roland Geider
fe9e593845 Merge pull request #683 from wger-project/dependabot/github_actions/docker/build-push-action-2.4.0
Bump docker/build-push-action from 2 to 2.4.0
2021-05-25 13:11:18 +02:00
Roland Geider
86e0669433 Merge pull request #682 from wger-project/dependabot/github_actions/actions/checkout-2.3.4
Bump actions/checkout from 2 to 2.3.4
2021-05-25 13:09:22 +02:00
Roland Geider
7dc88b781b Merge pull request #677 from wger-project/dependabot/github_actions/docker/setup-buildx-action-1.3.0
Bump docker/setup-buildx-action from 1 to 1.3.0
2021-05-25 13:09:07 +02:00
dependabot[bot]
314a943455 Bump github/super-linter from 3.17.0 to 3.17.1
Bumps [github/super-linter](https://github.com/github/super-linter) from 3.17.0 to 3.17.1.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v3.17.0...v3.17.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 05:33:37 +00:00
dependabot[bot]
00fbbee109 Bump docker/setup-buildx-action from 1 to 1.3.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 1.3.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v1.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 08:45:21 +00:00
dependabot[bot]
ee17d6fac1 Bump docker/build-push-action from 2 to 2.4.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 2.4.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v2.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 08:44:54 +00:00
dependabot[bot]
9da1d6fc86 Bump actions/checkout from 2 to 2.3.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 08:44:51 +00:00
Roland Geider
a837c0632c Merge pull request #681 from wger-project/dependabot/github_actions/github/super-linter-3.17.0
Bump github/super-linter from 3 to 3.17.0
2021-05-12 10:44:50 +02:00
Roland Geider
da498294af Merge pull request #680 from wger-project/dependabot/github_actions/actions/cache-2.1.5
Bump actions/cache from 2 to 2.1.5
2021-05-12 10:44:45 +02:00
Roland Geider
7540a578ac Merge pull request #679 from wger-project/dependabot/github_actions/docker/login-action-1.9.0
Bump docker/login-action from 1 to 1.9.0
2021-05-12 10:44:36 +02:00
dependabot[bot]
4d725c4f4b Bump github/super-linter from 3 to 3.17.0
Bumps [github/super-linter](https://github.com/github/super-linter) from 3 to 3.17.0.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v3...v3.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:06:50 +00:00
dependabot[bot]
b3332c603d Bump actions/cache from 2 to 2.1.5
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v2.1.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:06:47 +00:00
dependabot[bot]
5bd56f55b5 Bump docker/login-action from 1 to 1.9.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 1.9.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v1.9.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:06:43 +00:00
dependabot[bot]
991337d238 Bump docker/setup-qemu-action from 1 to 1.1.0
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 1.1.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:06:40 +00:00
Roland Geider
c7ebe3b07d Git checkout HEAD^2 is no longer necessary
Code Scanning recommends analyzing the merge commit for best results.
2020-12-27 10:11:19 +01:00
Roland Geider
912cafe288 Reduce the number of parallel tests
According to The Internet, this might fix an "The operation was canceled."
error that was happening recently during tests.
2020-12-17 23:28:28 +01:00
Roland Geider
2f23d638a4 Add white logo, small fixes to SVG 2020-11-11 18:38:07 +01:00
Roland Geider
bce9c9d277 Use major version 3, no need to pin a specific one 2020-11-02 15:36:04 +01:00
Roland Geider
d1b4529156 Don't always build base image
The base image doesn't change so often, plus this means that the cached version
will be used e.g. when users pull new dev oder apache images
2020-11-02 14:49:40 +01:00
Roland Geider
c6a1423f24 Also test the application with python 3.9 2020-10-29 22:43:35 +01:00
Roland Geider
250009e5a5 Only update coverage report artifacs when needed
The other python versions don't generate any
2020-10-29 22:42:09 +01:00
Roland Geider
4938fd7f42 Explicitly run manage.py with python when not using coverage
This seems to be necessary
2020-10-29 22:29:33 +01:00
Roland Geider
a8cd51b923 Fix yaml structure 2020-10-29 22:26:20 +01:00
Roland Geider
ed1947ada5 Only run the tests with coverage for one version of python
This is specially important for pypy, where the tests with activated coverage
need around 15 minutes longer than without.
2020-10-29 22:24:49 +01:00
Roland Geider
c3586534d6 Generate plain text report on the console for easier viewing 2020-10-29 18:43:20 +01:00
Roland Geider
788f5b889e Directly call the manage.py file 2020-10-29 17:46:28 +01:00
Roland Geider
9d99543725 Fix yaml structure 2020-10-29 17:43:41 +01:00
Roland Geider
5a3c8bf93f Generate coverage reports for the tests 2020-10-29 17:41:18 +01:00
Roland Geider
f21adb98f1 Try testing the application with Pypy 2020-10-29 13:53:14 +01:00
Roland Geider
cb4a64bcf4 Don't need to glob for requirements file, there is only one 2020-10-29 13:40:23 +01:00
Roland Geider
dfdc38a1a8 Don't test the application again with sqlite
There hasn't been any bugs that occured in one DB but not the other, plus this
speeds up the CI runs.
2020-10-29 13:39:54 +01:00
Roland Geider
af9a7b8f70 Cache pip packages 2020-10-29 13:27:13 +01:00
Roland Geider
78a1937005 Install the wheels package as well 2020-10-29 13:27:02 +01:00
Roland Geider
4b189649cd Install requirements from production file (has psycopg2) 2020-10-29 13:02:36 +01:00
Roland Geider
2a201c8dc3 Fix YAML file 2020-10-29 13:00:10 +01:00
Roland Geider
ccd1b21992 Add github workflow for continuous integration 2020-10-29 12:52:47 +01:00
Rasmus Storm
c626b77341 Spelling/grammar fixes in text docs/comments
Fixed typos and grammatical errors in comments and text documents. No code outside of comments has been altered.
2020-10-14 11:37:38 +02:00
Roland Geider
8b089e4423 Update to docker/build-push-actions@v2 2020-10-04 19:44:56 +02:00
Roland Geider
522cf1dbce Move back to v1
It seems v2 is not released yet?
2020-09-08 14:03:58 +02:00
dependabot[bot]
546dfb2427 Bump docker/build-push-action from v1 to v2
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from v1 to v2.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Changelog](85d408708d/CHANGELOG.md)
- [Commits](https://github.com/docker/build-push-action/compare/v1...85d408708d8c09e8991e7b18899e77d7aee89287)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 05:37:05 +00:00
Roland Geider
1a2e2bfe8d Pass the github token variable
This will mark the status of each individual linter run in the Checks section
of a pull request instead of the overall status of the full run.
2020-09-03 18:07:58 +02:00
Roland Geider
b8757dc00c Don't create docker files on pull requests
While this could potentially be useful, at the moment it would overwrite the
"latest" and "2.0-dev" tags each time.
2020-08-12 21:39:34 +02:00
Roland Geider
9d8a83e77a Also build the base image 2020-08-11 20:08:32 +02:00
Roland Geider
e59d336ec1 Create codeql-analysis.yml 2020-08-10 23:03:53 +02:00
Roland Geider
8312357f67 Also build apache image 2020-08-10 14:40:17 +02:00
Roland Geider
ffa7f3019a Fix yml structure 2020-08-10 14:25:31 +02:00
Roland Geider
f67a10b244 Add github action to automatically build docker images 2020-08-10 14:23:44 +02:00
Roland Geider
b624dc2ffc Fix flake8 configuration file 2020-08-09 17:54:26 +02:00
Roland Geider
d81b822ff1 Activate flake8 linter 2020-08-08 15:40:45 +02:00