Skip to content

Commit

Permalink
add github actions as CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TH3CHARLie committed Oct 5, 2021
1 parent aab9422 commit 154dda5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/worflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: install & test

on: [push, pull_request]

jobs:
tests:
runs-on: ubuntu-latest
name: python ${{ matrix.python-version }}

strategy:
matrix:
python-version: ["3.7", "3.8", "3.9"]

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

- name: install
shell: bash
run: pip install -e .

- name: test
shell: bash
run: python tests/test.py

0 comments on commit 154dda5

Please sign in to comment.