Create main.yml

This commit is contained in:
Mattia 2021-02-26 13:56:56 +01:00 committed by GitHub
parent 5d8c31fb07
commit 67daca932f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

26
.github/workflows/main.yml vendored Normal file
View File

@ -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