|
|
|
|
@ -2,17 +2,11 @@ name: lab-testing
|
|
|
|
|
|
|
|
|
|
# add your pipline description below
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
branches:
|
|
|
|
|
- main
|
|
|
|
|
pull_request:
|
|
|
|
|
branches:
|
|
|
|
|
- main
|
|
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
unit-tests:
|
|
|
|
|
if: github.event_name == 'push'
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
@ -29,6 +23,7 @@ jobs:
|
|
|
|
|
run: poetry run pytest tests/unit/test_*.py
|
|
|
|
|
e2e-tests:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
if: github.event_name == 'pull_request'
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: actions/setup-python@v4
|
|
|
|
|
|