mirror of
https://github.com/QualityInUse/lab-testing-maksktl.git
synced 2026-08-05 12:05:26 +03:00
Update pipeline
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user