Skip to content

Update GitHub Actions #3

Update GitHub Actions

Update GitHub Actions #3

Workflow file for this run

name: CI
on: pull_request
jobs:
test:
name: Test -- tox
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.5'
- name: Python pip cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/*.txt') }}
- name: Run tests
run: |
pip install $(grep "^tox==" requirements/local.txt)
tox