Delete .github/workflows/test.yml
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
name: Run Pytest with Pixi and generate Allure & Coverage
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ utils_testing ]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Pixi
|
||||
run: |
|
||||
curl -fsSL https://pixi.sh/install.sh | bash
|
||||
export PATH="$HOME/.pixi/bin:$PATH"
|
||||
pixi install
|
||||
|
||||
- name: Run tests with coverage and allure
|
||||
run: |
|
||||
export PATH="$HOME/.pixi/bin:$PATH"
|
||||
pixi run pytest --cov=slic --cov-report=xml --cov-report=html --alluredir=allure-results
|
||||
|
||||
- name: Upload Allure results
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: allure-results
|
||||
path: allure-results/
|
||||
|
||||
- name: Upload Coverage HTML report
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: coverage-html
|
||||
path: htmlcov/
|
||||
Reference in New Issue
Block a user