Skip to content

Commit

Permalink
CI: use github actions rather than circleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
belm0 committed Aug 17, 2022
1 parent dd79126 commit 75b8280
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 183 deletions.
182 changes: 0 additions & 182 deletions .circleci/config.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on: [push]

jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
requirements: [test-requirements.txt]
include:
- python-version: '3.7'
requirements: test-requirements_trio-0.11.txt
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: ${{ matrix.requirements }}
# TODO: unpinned "latest" build
- run: pip install . -r ${{ matrix.requirements }}
- run: make test lint
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build status](https://img.shields.io/circleci/build/github/belm0/perf-timer)](https://circleci.com/gh/belm0/perf-timer)
[![Build status](https://img.shields.io/github/workflow/status/belm0/perf-timer/CI)](https://github.com/belm0/perf-timer/actions/workflows/ci.yml)
[![Package version](https://img.shields.io/pypi/v/perf-timer.svg)](https://pypi.org/project/perf-timer)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/perf-timer.svg)](https://pypi.org/project/perf-timer)

Expand Down

0 comments on commit 75b8280

Please sign in to comment.