From 67daca932fd64c3b5074eb65eddcdc5291cde62f Mon Sep 17 00:00:00 2001 From: Mattia Date: Fri, 26 Feb 2021 13:56:56 +0100 Subject: [PATCH] Create main.yml --- .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 0000000..865a5ed --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,26 @@ +# Automatically runs tests + +name: Run tests + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + workflow_dispatch: + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - name: Setup Python + uses: actions/setup-python@v2.2.1 + with: + # We test using a reasonably modern Python version + python-version: 3.8.0 + architecture: x64 + - uses: japl-lang/japl@v2 + - name: Run production-mode tests + run: ./build.py --profile resources/profiles/production.json + - name: Run developmet tests + run: ./build.py --profile resources/profiles/production.json