From ab54afdab7559b976d2a1ef6c13b0056d1a2f4a7 Mon Sep 17 00:00:00 2001 From: Tryndaron Date: Thu, 28 Mar 2024 11:18:31 +0100 Subject: [PATCH] pytest ci --- .github/workflows/pytest.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/pytest.yaml diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml new file mode 100644 index 0000000..8848433 --- /dev/null +++ b/.github/workflows/pytest.yaml @@ -0,0 +1,32 @@ +name: Run tests + +on: + + #pull_request: + #branches: ['main', 'develop'] + + workflow_dispatch: + +jobs: + pytest: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup Python + uses: actions/setup-python@v3 + with: + python-version: 3.9 + + - name: Install Dependencies + run: python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Set up Hugging Face Token + env: + hf_token: ${{ secrets.HF_TOKEN }} + + - name: Run Pytest + run: pytest \ No newline at end of file