Skip to content

Commit

Permalink
Add workflow for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
JCZuurmond committed Jan 28, 2022
1 parent 094308f commit fe8c05a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test

on:
pull_request:
push:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Install dependencies
shell: bash
run: |
sudo apt-get install libsasl2-dev
python -m pip install --upgrade pip
python -m pip install -r test-requirements.txt
- name: Run pytest
shell: bash
run: pytest tests/

0 comments on commit fe8c05a

Please sign in to comment.