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

Add dependabot configuration #45

Add dependabot configuration

Add dependabot configuration #45

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
jobs:
build:
name: build (Python ${{ matrix.python-version }})
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Get pip cache dir
id: pip-cache
run: |
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
- name: Cache pip dependencies
uses: actions/cache@v3
with:
path: ${{ steps.pip-cache.outputs.dir }}
key:
${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ matrix.python-version }}-v1-
- name: Install dependencies
run: |
pip install --upgrade pip
pip install --upgrade tox tox-gh-actions
- name: Tox tests
run: |
tox -v