Skip to content

Commit

Permalink
Merge pull request #32 from claws/rel
Browse files Browse the repository at this point in the history
Release preparation
  • Loading branch information
claws committed May 2, 2021
2 parents 7a62bd7 + 8f8716b commit 0c7a6bd
Show file tree
Hide file tree
Showing 10 changed files with 786 additions and 89 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Python Package Workflow

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.dev.txt
pip install -r requirements.txt
- name: Cache pip dependencies
uses: actions/cache@v1
with:
path: ~/.cache/pip # This path is specific to Ubuntu
# Check for a cache hit for the corresponding dev requirements file
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.dev.txt') }}-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Check style
run: |
make check-style
- name: Check lint
run: |
make check-lint
- name: Check types
run: |
make check-types
- name: Check installation
run: |
pip install .
- name: Generate package
run: |
make dist
Loading

0 comments on commit 0c7a6bd

Please sign in to comment.