Skip to content

ci: fix and update dependencies #34

ci: fix and update dependencies

ci: fix and update dependencies #34

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Check formatting
run: |
pip3 install riot
riot -v run -s black -- --check .
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install project
run: pip install .
- name: Run command
run: |
python -m pip install riot
riot -v run -s mypy
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Run command
run: |
python -m pip install riot
riot -v run -s flake8
test:
runs-on: ubuntu-22.04
container: ghcr.io/datadog/dd-trace-py/testrunner:f3beaf4aef080ba23a9747f3d30e9618addb6499
steps:
- name: Run tests
run: |
python -m pip install riot
riot -v run smoke-test
riot -v run tests