From 4080301dbc67d6c02c7a0db35d41fd9b52271076 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Sun, 2 Feb 2020 23:01:31 +0100 Subject: [PATCH] Testing GitHub actions as CI --- .github/workflows/main.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..d4b79979 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,26 @@ +name: Continous Integration + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + max-parallel: 4 + matrix: + python-version: [3.7] + + steps: + - uses: actions/checkout@v1 + - name: Set up Python 3.7 + uses: actions/setup-python@v1 + with: + python-version: 3.7 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Django Testing project + run: | + python3 manage.py test