Skip to content

Commit

Permalink
Merge pull request #19 from tisnik/unit-tests-on-ci
Browse files Browse the repository at this point in the history
Unit tests on CI
  • Loading branch information
tisnik authored Oct 3, 2024
2 parents 29be801 + fc1994c commit 7a98b02
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/unit_tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Unit tests

on: [push, pull_request]

jobs:
unit_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: PDM installation
run: pip install --user pdm
- name: Install dependencies
run: pdm install
- name: Install devel dependencies
run: pdm install --dev
- name: Run unit tests
run: pdm run python -m pytest tests/unit --cov=ols --cov=runner --cov-report term-missing

0 comments on commit 7a98b02

Please sign in to comment.