Skip to content

ci: fix and update dependencies #43

ci: fix and update dependencies

ci: fix and update dependencies #43

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
steps:
- uses: actions/checkout@v4
- run: docker run --rm -v $PWD/envier:/work/envier -w /work/envier ghcr.io/kyle-verhoog/envier/test:9814dba05e2bfb486fd4ff66a170506fad213ffd bash -c "riot -v run -p2.7 smoke-test && riot -v run -p2.7 tests"