Merge branch 'main' into patch-1

This commit is contained in:
Andy McKay
2020-11-24 13:37:06 -08:00
committed by GitHub
9 changed files with 95 additions and 15 deletions
+5 -2
View File
@@ -2,14 +2,17 @@
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the $default-branch branch
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the $default-branch branch
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
# 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"
+2 -2
View File
@@ -30,7 +30,7 @@ jobs:
fi
- name: Build
run: go build -v .
run: go build -v ./...
- name: Test
run: go test -v .
run: go test -v ./...
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |