Skip to content

Commit

Permalink
Merge pull request #4 from openkamer/add-github-action-tests
Browse files Browse the repository at this point in the history
Run tests as github action
  • Loading branch information
bartromgens authored Jul 8, 2023
2 parents 26d5dc2 + cd28e1d commit ee65073
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: tkapi tests
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -r requirements.txt
- name: Test with pytest
run: |
pytest

0 comments on commit ee65073

Please sign in to comment.