Skip to content

Commit

Permalink
Merge pull request #20 from whitemech/fix/update
Browse files Browse the repository at this point in the history
Long overdue update
  • Loading branch information
francescofuggitti authored Nov 3, 2024
2 parents 851539a + 27a23e6 commit dae06d4
Show file tree
Hide file tree
Showing 45 changed files with 925 additions and 8,812 deletions.
4 changes: 2 additions & 2 deletions .github/RELEASE_PR.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ _Put an `x` in the boxes that apply._
- [ ] I've added an item in `HISTORY.md` for this release
- [ ] I bumped the version number in the `__version__.py` file.
- [ ] I published the latest version on TestPyPI and checked that the following command work:
```pip install fond4ltlfpltlf==<version-number> --index-url https://testpypi.org/simple --force --no-cache-dir --no-deps```
```pip install fond4ltlf==<version-number> --index-url https://testpypi.org/simple --force --no-cache-dir --no-deps```
- [ ] After merging the PR, I'll publish the build also on PyPI. Then, I'll make sure the following
command will work:
```pip install fond4ltlfpltlf==<version_number> --force --no-cache-dir --no-deps```
```pip install fond4ltlf==<version_number> --force --no-cache-dir --no-deps```


## Further comments
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: docs
on:
push:
branches:
- develop
- master
pull_request:

Expand All @@ -14,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.7]
python-version: ["3.8", "3.10"]

timeout-minutes: 30

Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: lint
on:
push:
branches:
- develop
- master
pull_request:

Expand All @@ -14,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.7]
python-version: ["3.8", "3.10"]

timeout-minutes: 30

Expand All @@ -27,10 +26,7 @@ jobs:
run: pip install tox
- name: Code style check
run: |
tox -e black-check
tox -e isort-check
tox -e flake8
- name: Static type check
run: tox -e mypy
tox -e ruff-format
tox -e ruff-check
- name: Check copyright
run: tox -e check-copyright
13 changes: 5 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: test
on:
push:
branches:
- develop
- master
pull_request:

Expand All @@ -14,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.6, 3.7, 3.8]
python-version: ["3.8", "3.9", "3.10"]

timeout-minutes: 30

Expand All @@ -31,12 +30,10 @@ jobs:
run: |
tox -e py${{ matrix.python-version }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Generate Documentation
run: tox -e docs
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.1
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format

2 changes: 1 addition & 1 deletion AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Maintainer

- [Francesco Fuggitti](https://github.com/francescofuggitti) <[fuggitti@diag.uniroma1.it](mailto:fuggitti@diag.uniroma1.it)>
- [Francesco Fuggitti](https://github.com/francescofuggitti) <[francesco.fuggitti@gmail.com](mailto:francescco.fuggitti@gmail.com)>

## Contributors

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Contributions are welcome, and they are greatly appreciated!

If you need support, want to report/fix a bug, ask for/implement features, you can check the
[Issues page](https://github.com/francescofuggitti/fond4ltlfpltlf/issues)
or [submit a Pull request](https://github.com/francescofuggitti/fond4ltlfpltlf/pulls).
[Issues page](https://github.com/francescofuggitti/fond4ltlf/issues)
or [submit a Pull request](https://github.com/francescofuggitti/fond4ltlf/pulls).

For any other kinds of feedback, you can contact one of the
[authors](./authors.md) by email.
13 changes: 6 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:22.04

RUN apt-get update && apt-get install --no-install-recommends -y \
ca-certificates \
Expand All @@ -7,13 +7,12 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
git \
libgmp3-dev \
make \
python3 \
wget \
time \
zlib1g-dev

# Set up some environment variables.
ENV CXX g++
ENV CXX=g++

RUN apt-get install -y mona && \
apt-get install -y libssl-dev && \
Expand All @@ -25,8 +24,8 @@ RUN git clone https://github.com/whitemech/FOND4LTLf.git && \
cd FOND4LTLf && \
pip install .

ENV DEBIAN_FRONTEND noninteractive
ENV LC_ALL C.UTF-8
ENV LANG C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8

CMD ["fond4ltlfpltlf"]
CMD ["fond4ltlf"]
4 changes: 2 additions & 2 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
- introduce testing
- introduce Continuous Integration
- update `ltlf2dfa` to version 1.0.1
- update online version at [fond4ltlfpltlf](http://fond4ltlfpltlf.diag.uniroma1.it)
- update online version at [fond4ltlf](http://fond4ltlf.diag.uniroma1.it)

## 0.0.1 (2020-03-20)
- online version at [fond4ltlfpltlf](http://fond4ltlfpltlf.diag.uniroma1.it)
- online version at [fond4ltlf](http://fond4ltlf.diag.uniroma1.it)
- update `ltlf2dfa` version
31 changes: 0 additions & 31 deletions Pipfile

This file was deleted.

Loading

0 comments on commit dae06d4

Please sign in to comment.