Skip to content

Commit

Permalink
Switch to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Apr 27, 2024
1 parent 66ecbd0 commit 756da0f
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 37 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: main

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.8"
- "3.9"

steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- uses: Gr1N/setup-poetry@v8

- name: Check dependencies
run: make doctor

- uses: actions/cache@v2
with:
path: .venv
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}

- name: Install dependencies
run: make install

- name: Check code
run: make check

- name: Test code
run: make test

- name: Run Demo
run: make demo

- name: Upload coverage
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

0 comments on commit 756da0f

Please sign in to comment.