Skip to content

Clean dependencies and scripts for ICPM2024 experimentation #2

Clean dependencies and scripts for ICPM2024 experimentation

Clean dependencies and scripts for ICPM2024 experimentation #2

Workflow file for this run

name: Build & Test
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/**'
pull_request:
branches: [ main ]
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/**'
jobs:
build:
name: Build and test, Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
packages: write
strategy:
matrix:
python-version: [ '3.9' , '3.10' , '3.11' ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install poetry
shell: bash
run: pip install poetry
- name: Install project
run: |
poetry install
- name: Test
run: |
poetry run pytest