Skip to content

ci: skip python 3.7 on macos-latest #41

ci: skip python 3.7 on macos-latest

ci: skip python 3.7 on macos-latest #41

Workflow file for this run

name: Pip
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-latest] # windows-latest excluded for now
python-version: ["3.7", "3.11"]
exclude:
# 3.7 is not available anymore on macos-latest
- platform: macos-latest
python-version: "3.7""

Check failure on line 20 in .github/workflows/pip.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pip.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- name: Write version.txt on release event
if: github.event_name == 'release'
run: echo ${{ github.event.release.tag_name }} > VERSION.txt
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Add requirements
run: python -m pip install --upgrade wheel setuptools
- name: Build and install
run: pip install --verbose .[test]
- name: Test
run: python -m pytest test.py