Skip to content

Add GitHub Actions CI workflow #4

Add GitHub Actions CI workflow

Add GitHub Actions CI workflow #4

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
env:
PYTHON_VERSION: '3.7'
jobs:
run-tox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tox
run: tox