WIP: 2021 02 24 dockerize (#18)

* Use cache for most fields and admin form for m2m files

* MR comments/clean up

* Cache should obey exclude and fields

* Some more tests and docs

* Only use cache for image files

* Even more tests and handle save as new

* fix test

* More tests

* minor refactor

* Improve test coverage

* Adding tests for fieldsets

* Added cache timeout

* Added another test for an edge case

* Fix issue with ManagementForm tampered with

* Update cache to only set when form is_multipart

* Even more testing changes

* Dockerize

* Setting up tests in docker

* Update github actions

* Got first integration test to work

* Refactor a bit

* Fix github action yml

* Use docker-compose up -d in github actions

* combine coveralls

* Updated readme

* Clean up code

* Remove dup code from rebase

Co-authored-by: Thu Trang Pham <thu@joinmodernhealth.com>
This commit is contained in:
Thu Trang Pham
2021-03-03 07:42:24 -08:00
committed by GitHub
parent 06d3e1a208
commit 4f50c63f7b
13 changed files with 183 additions and 31 deletions
+17 -1
View File
@@ -49,8 +49,24 @@ jobs:
parallel: true
flag-name: Unit Test
integration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Docker
run: docker-compose build
- name: Start Docker
run: docker-compose up -d
- name: Integration Test
run: docker-compose run web make test-all
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
parallel: true
flag-name: Integration Test
coveralls:
needs: test
needs: [test, integration-test]
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished