Skip to content

CI: Build on Python 2.7 via container #84

CI: Build on Python 2.7 via container

CI: Build on Python 2.7 via container #84

Workflow file for this run

name: Test
on:
- push
- pull_request
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
python-version:
- "3.7"
- "3.8"
- "3.9"
include:
- os: ubuntu-20.04
python: "3.5"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install readme_renderer
- name: Install SSH
run: |
sudo apt-get update -qq
sudo apt-get install -qq openssh-client openssh-server
- name: Set up SSH
run: .ci/setup_ssh.sh
- run: pip install -e .
- run: SCPPY_PORT=10022 python test.py
- run: python setup.py check -r -s
build-container:
strategy:

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

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 37, Col: 5): Required property is missing: runs-on
matrix:
python-version:
- "2.7"
container:
image: python:${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Install SSH
run: |
sudo apt-get update -qq
sudo apt-get install -qq openssh-client openssh-server
- name: Set up SSH
run: .ci/setup_ssh.sh
- run: pip install -e .
- run: SCPPY_PORT=10022 python test.py