Skip to content

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #159

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #159

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: pip install riot==0.19.0
- run: riot -v run check_fmt
- run: riot -v run -s mypy
- run: riot -v run -s flake8
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: install riot
# Note that pip3 has to be used since the system pip when running
# under the 2.7 instance will be Python 2 pip.
# (riot is not Python 2 compatible)
run: pip3 install riot==0.19.0
- run: |
riot run -p ${{ matrix.python-version}} test