Skip to content

Try to fix failing pipeline #3

Try to fix failing pipeline

Try to fix failing pipeline #3

Workflow file for this run

name: Build and Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-24.04
container: python:3.11.9
steps:
- uses: actions/checkout@v4
- name: Build
run: echo "build"
test:
needs: build
runs-on: ubuntu-24.04
container: python:3.11.9
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11.9'
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python --version
pip --version
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install tox
pip install -r requirements.txt
- name: Run tests
run: tox