Skip to content

Merge pull request #62 from in-toto/dependabot/github_actions/actions… #64

Merge pull request #62 from in-toto/dependabot/github_actions/actions…

Merge pull request #62 from in-toto/dependabot/github_actions/actions… #64

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
test:
name: Test
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout demo
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'requirements.txt'
- name: Install dependencies
run: |
python3 -m pip install -U pip
python3 -m pip install -r requirements.txt
- name: Run demo
run: |
python3 run_demo_md.py