Skip to content

Transformers not ViTs #62

Transformers not ViTs

Transformers not ViTs #62

Workflow file for this run

name: Test Training
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install dependencies
run: |
pip install flake8 pytest-cov
pip install -r requirements.txt
- name: Run tests and collect coverage
run: pytest --cov=dss/ tests/
- name: Lint with flake8
run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1