From 20404c1c5b22f24807c23f1e73af8d7bb890d837 Mon Sep 17 00:00:00 2001 From: mac12m99 <10120390+mac12m99@users.noreply.github.com> Date: Sun, 24 Jan 2021 16:12:33 +0100 Subject: [PATCH] prova reinserimento test automatici --- .github/workflows/tests.yml | 25 +++++++++++++++++++++++++ tests/template.html | 22 +++++----------------- 2 files changed, 30 insertions(+), 17 deletions(-) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 00000000..3f490a69 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,25 @@ +name: Test Suite +on: + workflow_dispatch: + schedule: + - cron: '00 16 * * *' + +jobs: + tests: + runs-on: ubuntu-latest + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: 2.7 + + - name: Run tests + run: ./run.sh + + - uses: actions/upload-artifact@v2 + with: + name: report + path: reports/report.html diff --git a/tests/template.html b/tests/template.html index 6579c1cb..4d3e8ab2 100644 --- a/tests/template.html +++ b/tests/template.html @@ -126,11 +126,11 @@ {%- endif %} {%- endif %} {%- endfor %} -