Skip to content

PGrabinski is testing GenAI Detection without Container🚀 #107

PGrabinski is testing GenAI Detection without Container🚀

PGrabinski is testing GenAI Detection without Container🚀 #107

name: Run Pytest with Poetry
run-name: ${{ github.actor }} is testing GenAI Detection without Container🚀
on: [push]
jobs:
Test-GenAI-Detection:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: poetry install --with test
- name: Run tests/data/test_download.py
run: |
poetry run wandb login ${{ secrets.WANDB_API_KEY }}
poetry run python src/tests/data/test_download.py
- name: Run Pytest
run: poetry run pytest