Skip to content

set up publishing with trusted publisher #11

set up publishing with trusted publisher

set up publishing with trusted publisher #11

Workflow file for this run

name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v2
name: Configure pip caching
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install https://github.com/fgregg/datasette/archive/refs/heads/no_limit_csv_publish.zip
pip install -e '.[test]'
- name: Run tests
run: |
pytest