mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
get rid of unused automation scripts
This commit is contained in:
parent
2a8adde8e7
commit
d1aa4e63b2
1 changed files with 32 additions and 32 deletions
64
.github/workflows/pytest.yml
vendored
64
.github/workflows/pytest.yml
vendored
|
|
@ -1,42 +1,42 @@
|
|||
name: Run Pytest
|
||||
# name: Run Pytest
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '**' # Run on all branches
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
# on:
|
||||
# push:
|
||||
# branches:
|
||||
# - '**' # Run on all branches
|
||||
# pull_request:
|
||||
# branches:
|
||||
# - main
|
||||
|
||||
jobs:
|
||||
etl-unit-tests:
|
||||
runs-on: ubuntu-22.04
|
||||
# jobs:
|
||||
# etl-unit-tests:
|
||||
# runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
# steps:
|
||||
# - name: Checkout Repository
|
||||
# uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
# - name: Set up Python
|
||||
# uses: actions/setup-python@v5
|
||||
# with:
|
||||
# python-version: '3.12'
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.12'
|
||||
# - name: Set up Python
|
||||
# uses: actions/setup-python@v4
|
||||
# with:
|
||||
# python-version: '3.12'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install poetry
|
||||
poetry install --no-root
|
||||
# - name: Install dependencies
|
||||
# run: |
|
||||
# pip install poetry
|
||||
# poetry install --no-root
|
||||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
poetry run pytest -W ignore::DeprecationWarning
|
||||
env:
|
||||
PYTHONPATH: ${{ github.workspace }}
|
||||
# - name: Run Tests
|
||||
# run: |
|
||||
# poetry run pytest -W ignore::DeprecationWarning
|
||||
# env:
|
||||
# PYTHONPATH: ${{ github.workspace }}
|
||||
|
||||
|
||||
|
||||
continue-on-error: ${{ github.event_name == 'push' && github.ref != 'refs/heads/main' }}
|
||||
# continue-on-error: ${{ github.event_name == 'push' && github.ref != 'refs/heads/main' }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue