Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Updated readme.

Updated readme. #59

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: build
on:
push:
branches: [ "master", "clustering" ]
pull_request:
branches: [ "master", "clustering" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f devrequirements.txt ]; then pip install -r devrequirements.txt; fi
- name: Test with unittest
run: |
cd regtests
./runtests.sh
cd ..
- name: Upload Coverage
if: ${{ matrix.python-version == '3.8' }}
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}