Skip to content

fix MAP and tests

fix MAP and tests #185

Workflow file for this run

name: CI/CD
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install clingo
pip install numpy
pip install scipy
pip install .
- name: Test with pytest
run: |
cd test && sh test_all.sh
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: damianodamianodamiano
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: damianodamianodamiano/pasta:latest