Skip to content

Add parallel run chords to facilitate groups of tasks inside other tasks #47

Add parallel run chords to facilitate groups of tasks inside other tasks

Add parallel run chords to facilitate groups of tasks inside other tasks #47

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
Test:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
os:
- ubuntu-latest
python-version:
- '3.7'
- '3.11'
steps:
- name: 'Set up Python ${{ matrix.python-version }}'
uses: actions/setup-python@v4
with:
python-version: '${{ matrix.python-version }}'
- uses: actions/checkout@v3
- run: pip install -e . -r requirements-test.txt
- run: py.test -vvv --cov .
- uses: codecov/codecov-action@v3
env:
BOTO_CONFIG: /dev/null
AWS_SECRET_ACCESS_KEY: foobar_secret
AWS_ACCESS_KEY_ID: foobar_key
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- uses: actions/checkout@v3
- run: pip install -e . pre-commit
- run: pre-commit run --all-files
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- uses: actions/checkout@v3
- run: pip install build
- run: python -m build .
- uses: actions/upload-artifact@v3
with:
name: dist
path: dist/