diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml new file mode 100644 index 00000000..1867c59a --- /dev/null +++ b/.github/workflows/testing.yml @@ -0,0 +1,15 @@ +name: test_Django +on: [pull_request, push] # activates the workflow when there is a push or pull request in the repo +jobs: + test_project: + runs-on: ubuntu-latest # operating system your code will run on + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + - name: Install Dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Run Tests + run: | + python manage.py test diff --git a/README.md b/README.md index ab4adc6f..194ea783 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,3 @@ About the project: 2. Run `make build` to build the docker image 3. Run `make run` to run the docker container 4. Run `make stop` to stop the docker container - - - - - -