Skip to content

Instantly share code, notes, and snippets.

@davidmezzetti
Created November 13, 2020 20:28
Show Gist options
  • Save davidmezzetti/4240be10d736fa9ca1870826fdd996a8 to your computer and use it in GitHub Desktop.
Save davidmezzetti/4240be10d736fa9ca1870826fdd996a8 to your computer and use it in GitHub Desktop.
# GitHub Actions build workflow
name: build
on: ["push", "pull_request"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Build
run: |
pip install -U pip wheel coverage coveralls
python --version
./scripts/tests.sh skipslow
- name: Test Coverage
run: coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment