Skip to content

Update: workflow.yml config #12

Update: workflow.yml config

Update: workflow.yml config #12

Workflow file for this run

# This workflow will install Swap package dependencies, run tests and lint with a variety of Python versions.
name: workflow
on:
push:
branches: [
master
]
pull_request:
branches: [
master
]
jobs:
python:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [
"3.9", "3.10", "3.11"
]
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@master
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[tests,docs] coveralls
- name: Test with PyTest with Coverage
run: coverage run --source=bip38 -m pytest
- name: Submit Coverage report to Coveralls
if: ${{ matrix.python-version == "3.11" }}

Check failure on line 36 in .github/workflows/workflow.yml

View workflow run for this annotation

GitHub Actions / workflow

Invalid workflow file

The workflow is not valid. .github/workflows/workflow.yml (Line: 36, Col: 11): Unexpected symbol: '"3'. Located at position 26 within expression: matrix.python-version == "3.11"
run: coveralls