Skip to content

Commit

Permalink
Update run_unittests.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbeale-IL authored Oct 2, 2024
1 parent 4ad496a commit 4fbd5c7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/run_unittests.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python application
name: Unit Tests

on:
push:
Expand All @@ -26,8 +26,8 @@ jobs:
python-version: "3.12"
- name: Install Poetry
run: |
python -m pip install --upgrade pip
python -m pip install poetry
python3 -m pip install --upgrade pip
python3 -m pip install poetry
poetry config virtualenvs.create true
poetry config virtualenvs.in-project false
poetry config virtualenvs.path .virtualenvs
Expand All @@ -45,7 +45,9 @@ jobs:
- name: Install dependencies
run: |
poetry install
shell: bash
if: steps.cache.outputs.cache-hit != 'true'
- name: Test with pytest
run: |
pytest
shell: bash

0 comments on commit 4fbd5c7

Please sign in to comment.