Skip to content

Bump argcomplete from 3.0.8 to 3.1.1 (#174) #320

Bump argcomplete from 3.0.8 to 3.1.1 (#174)

Bump argcomplete from 3.0.8 to 3.1.1 (#174) #320

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v3
with:
# This path is specific to Ubuntu
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
pip install -U pip
pip install -U -e .[develop]
pip install -U coveralls
- name: Run style-checks
uses: pre-commit/[email protected]
- name: Run test suite
run: |
coverage erase
coverage run -m unittest
coverage report
- name: Upload coverage result
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
coveralls --service=github
- name: Run CLI test
run: |
fina add expense -100
fina add earning 200
fina add rent -300 -f monthly
fina list
fina list -r