Commit Graph

35 Commits

Author SHA1 Message Date
Andreas Zweili 44adc5b94d move the ENV variable to the nix-shell 2022-03-01 10:04:34 +01:00
Andreas Zweili a1852fd292 rewrite Makefile to use nix environment 2022-03-01 09:49:56 +01:00
Andreas Zweili e9d6b8aad1 fix commands 2022-02-08 14:51:14 +01:00
Andreas Zweili 37315422d6 clean up the run command 2022-02-08 14:47:16 +01:00
Andreas Zweili f16f2613d4 use the venv in all commands 2022-02-08 14:43:51 +01:00
Andreas Zweili 3cbbebb61b remove the docker development environment
It's just easier to have the stuff in a venv
2022-02-07 22:27:59 +01:00
Andreas Zweili 84c783496e use auto with the pytest 2022-01-31 18:27:56 +01:00
Andreas Zweili b51d7c00e9 fix the cleanall command 2021-12-30 16:53:06 +01:00
Andreas Zweili 28ce263a99 expand fixtures 2021-12-30 16:10:04 +01:00
Andreas Zweili fa10b77403 add coverage report to testlocal 2021-12-26 15:18:48 +01:00
Andreas Zweili 5fe03c145c rewrite shebang 2021-12-08 19:23:42 +01:00
Andreas Zweili 48ced6def4 add a debug command 2020-07-13 09:37:57 +02:00
Andreas Zweili abdf4e2ff1 correct the order of the clean commands 2020-07-04 13:00:34 +02:00
Andreas Zweili a6ad70735b use the development compose for all Makefile commands 2020-07-04 12:56:58 +02:00
Andreas Zweili 6d723c53cf remove an unused command from the Makefile 2020-07-04 12:14:15 +02:00
Andreas Zweili f1e8090bf2 update the Makefile commands 2020-07-04 11:55:55 +02:00
Andreas Zweili b0346c8850 fix the automated tests 2020-07-04 11:02:10 +02:00
Andreas Zweili afd1320a91 Merge branch 'master' into clean-out-computer-forms 2020-06-08 17:03:46 +02:00
Andreas Zweili b99aedce54 set the settings variable before starting the docker container
When you first set the variable for the local settings file it will overwrite
the settings required for the docker container. Therefore I'm setting them
explicitly in the Makefile. Shouldn't be a problem on a production system.
2020-06-08 17:00:16 +02:00
Andreas Zweili b3e3acd4c9 change the test command 2020-05-31 15:50:19 +02:00
Andreas Zweili 86230256a8 add `make testlocal` to the Makefile
This command allows to quickly run all tests without generating a
coverage report. Just the quickest way to run all tests.
2020-04-20 15:53:17 +02:00
Andreas Zweili 365f9ffb7a add a cleanall command to the Makefile 2020-01-12 14:00:56 +01:00
Andreas Zweili bfea2ca2c1 remove the .second_run file with -f
If the file isn't present the Makefile fails without the -f flag
2020-01-07 18:11:32 +01:00
Andreas Zweili dcc3e39914 restructure the project
Make the file tree a bit flatter in order to make the project less confusing
2020-01-07 18:10:57 +01:00
Andreas Zweili 5ab7bf978a implement pytest-xdist for the Docker tests
This speeds up testing quite a bit
2019-08-30 22:37:16 +02:00
Andreas Zweili 5ab33e6168 add task to create a local developemenet environment 2019-08-10 15:14:36 +02:00
Andreas Zweili 2da0dfabb0 remove unused makefile part 2019-08-10 15:13:46 +02:00
Andreas Zweili 033c3fe8df make sure that the tests generate a coverage report 2019-08-10 15:09:05 +02:00
Andreas Zweili bce41c1c47 extend the clean up task 2019-08-10 15:08:52 +02:00
Andreas Zweili 3cf672edea remove the local server from the Makefile
For improved consistency it's better if I only develop in Docker with Postgres
instead of the local server with sqlite
2019-08-10 15:05:35 +02:00
Andreas Zweili a623aab846 remove redundant code 2019-07-24 23:15:12 +02:00
Andreas Zweili abba395440 add a make command to remove the sqlite db restart the server 2019-07-24 22:52:12 +02:00
Andreas Zweili a30fbd1c63 extend the "make local" command 2019-07-13 15:38:21 +02:00
Andreas Zweili 86cb63a6e9 add test command 2019-07-13 15:31:42 +02:00
Andreas Zweili ff5da6f114 Add a Makefile 2019-07-13 15:25:32 +02:00