Skip to content

Remove CircleCI and add GitHub CI workflow #9

Remove CircleCI and add GitHub CI workflow

Remove CircleCI and add GitHub CI workflow #9

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: CI Tests
on:
push:
branches:
- main
tags:
- '*'
pull_request:
jobs:
tests:
name: ${{ matrix.prefix }} ${{ matrix.os }}, ${{ matrix.tox_env }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.allow_failure }}
strategy:
matrix:
include:
- os: ubuntu-latest
python: '3.10'
tox_env: 'py310-test-alldeps'
allow_failure: false
prefix: ''
- os: ubuntu-latest
python: '3.10'

Check failure on line 28 in .github/workflows/ci_tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci_tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 28
tox_env: 'build_docs'
allow_failure: false
prefix: ''
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Test with Tox
run: |
tox -e ${{ matrix.tox_env }} -- ${{ matrix.toxposargs }}