Skip to content

CRAB-46176: Update actions dependencies to latest versions #80

CRAB-46176: Update actions dependencies to latest versions

CRAB-46176: Update actions dependencies to latest versions #80

name: Python unittest
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
- uses: actions/cache@v4
id: cache-venv
with:
path: ./venv/
key: ${{ runner.os }}-venv-${{ hashFiles('./requirements*.txt') }}
restore-keys: |
${{ runner.os }}-venv-
- run: python -m venv ./venv && source ./venv/bin/activate && pip install -r requirements.txt
if: steps.cache-venv.outputs.cache-hit != 'true'
- run: source ./venv/bin/activate && pytest