diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0fc3f6c..27f0be5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,18 +12,18 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9"] + python-version: ["3.7", "3.8", "3.9"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4.2.0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5.2.0 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install pytest pytest-cov coverage-lcov + python -m pip install pytest pytest-cov coverage-lcov --upgrade if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Test with pytest run: | @@ -38,4 +38,4 @@ jobs: - name: Test of documentation with doctest run: | python -m doctest -v ltn/core.py - python -m doctest -v ltn/fuzzy_ops.py + python -m doctest -v ltn/fuzzy_ops.py \ No newline at end of file diff --git a/README.md b/README.md index 1da540b..fcd151d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![docs link](https://img.shields.io/badge/docs-github.io-blue)](https://tommasocarraro.github.io/LTNtorch/) [![MIT license](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)](https://github.com/Naereen/StrapDown.js/blob/master/LICENSE) ![python version](https://img.shields.io/badge/python-3.7|3.8|3.9-blue) -[![DOI BADGE](https://zenodo.org/badge/DOI/10.5281/zenodo.6394282.svg)](https://doi.org/10.5281/zenodo.6394282) +[![DOI BADGE](https://zenodo.org/badge/DOI/10.5281/zenodo.7778157.svg)](https://doi.org/10.5281/zenodo.7778157) # LTNtorch: PyTorch implementation of Logic Tensor Networks @@ -183,17 +183,17 @@ LTN has been developed thanks to active contributions and discussions with the f # Citing this repo -If you are using **LTNtorch** in your work, please consider citing this repository. +If you are using **LTNtorch** in your work, please consider citing this repository using the following BibTex entry. ``` -@software{LTNtorch, - author = {Tommaso Carraro}, - title = {{LTNtorch: PyTorch implementation of Logic Tensor Networks}}, - month = {mar}, - year = {2022}, - publisher = {Zenodo}, - version = {1.0.0}, - doi = {10.5281/zenodo.6394282}, - url = {https://doi.org/10.5281/zenodo.6394282} +@misc{LTNtorch, + author = {Tommaso Carraro}, + title = {{LTNtorch: PyTorch implementation of Logic Tensor Networks}}, + month = {mar}, + year = {2023}, + howpublished = {Zenodo}, + version = {v1.0.1}, + doi = {10.5281/zenodo.7778157} + url = {https://doi.org/10.5281/zenodo.7778157} } -``` +``` \ No newline at end of file