Skip to content

Commit

Permalink
Migrate CI from CircleCI to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamalama authored and leplatrem committed Oct 27, 2021
1 parent 5d24eb1 commit 5c2c00b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .circleci/config.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
on:
push:
branches:
- master
pull_request:

name: Unit Testing
jobs:
chore:
name: Unit Tests
runs-on: ubuntu-latest
strategy:
matrix:
toxenv: [py37, py38, py39, flake8]
include:
- toxenv: py37
python-version: "3.7"
- toxenv: py38
python-version: "3.8"
- toxenv: py39
python-version: "3.9"
- toxenv: flake8
python-version: "3.X"

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

- name: Install dependencies
run: |
pip install tox
- name: Run Tox
run: |
tox -e ${{ matrix.toxenv }}

0 comments on commit 5c2c00b

Please sign in to comment.