refactor tests

This commit is contained in:
mac12m99
2020-07-25 14:59:59 +02:00
committed by marco
parent f19f534059
commit a3818cc84d
5 changed files with 199 additions and 112 deletions
+41
View File
@@ -0,0 +1,41 @@
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
schedule:
- cron: '30 17 * * *'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
tests:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
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: Install dependencies
run: |
python -m pip install --upgrade pip
pip install sakee
pip install html-testRunner
- name: Run tests
run: python test.py
- uses: actions/upload-artifact@v2
with:
name: report
path: reports/report.html