Skip to content

Migrate to GitHub Actions #7

Migrate to GitHub Actions

Migrate to GitHub Actions #7

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
jobs:
test:
strategy:

Check failure on line 10 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 10, Col: 5): Required property is missing: runs-on
matrix:
# python <3.4 is not available for python-version on linux, but the repo tests do work at the time of this comment
python-version: ["3.4.10", "3.13.5", "3.14-dev"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install . pytest pytest-cov
- name: Run tests
run: |
pytest -vv --cov=jsonstore
- name: Upload coverage
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.python-version }}
path: .coverage