Skip to content

Update release.yml

Update release.yml #29

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://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI checks
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
linting-bash:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Run ShellCheck
uses: azohra/shell-linter@latest
linting-python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
- name: Run black
run: |
black --check bin/*
- name: Run pylint
run: |
pylint bin/*
bats:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and run Dev Container task
uses: devcontainers/ci@v0.3
with:
runCmd: |
bats tests/