Skip to content

Changes sync

Changes sync #99

Workflow file for this run

name: Viewflow CI
on:
push:
branches: [ main ]
jobs:
build:
name: Viewflow CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- uses: actions/cache@v3
with:
path: .venv
key: ${{ hashFiles('tox.ini') }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools==59.8.0
python -m pip install tox
tox --notest
- name: Run Tests
run: |
tox -- coverage run --source='viewflow' ./manage.py test --exclude-tag=selenium --exclude-tag=integration
tox -- coverage lcov
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov