Skip to content

Commit

Permalink
👷 adding github actions
Browse files Browse the repository at this point in the history
adding github actions
  • Loading branch information
christinahedges committed Jan 9, 2021
1 parent b993d39 commit 0022aad
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: pytest

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]

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: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry install
- name: Test with pytest
run: |
poetry run pytest src tests

0 comments on commit 0022aad

Please sign in to comment.