Skip to content

Minor update

Minor update #248

Workflow file for this run

name: Release
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
ubuntu:
runs-on: ubuntu-22.04
steps:
- name: Clone
uses: actions/checkout@v3
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.10'
cache: 'pip'
- name: Dependency
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: MongoDB
uses: supercharge/[email protected]
with:
mongodb-username: test
mongodb-password: password
mongodb-db: StrongMotion
- name: Lint
run: |
pylint mb
- name: Test
run: |
pytest --cov .
- name: Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}