Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
- name: Make install smoketest
run: |
opam exec -- make install DESTDIR=$(mktemp -d)
opam exec -- make install DESTDIR=$(mktemp -d) BUILD_PY2=NO

- name: Check disk space
run: df -h || true
Expand Down
17 changes: 1 addition & 16 deletions .github/workflows/other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["2.7", "3.11"]
python-version: ["3.11"]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -39,24 +39,11 @@ jobs:

- uses: pre-commit/[email protected]
name: Run pre-commit checks (no spaces at end of lines, etc)
if: ${{ matrix.python-version != '2.7' }}
with:
extra_args: --all-files --verbose --hook-stage commit
env:
SKIP: no-commit-to-branch

- name: Run Pytest for python 2 and get code coverage
if: ${{ matrix.python-version == '2.7' }}
run: >
pip install enum future mock pytest-coverage pytest-mock &&
pytest -vv -rA --cov=ocaml ocaml
--cov-report term-missing
--cov-report xml:.git/coverage${{matrix.python-version}}.xml
--cov-fail-under 50
env:
PYTHONDEVMODE: yes
PYTHONPATH: "python3:python3/stubs"

- name: Upload coverage report to Coveralls
uses: coverallsapp/github-action@v2
with:
Expand All @@ -66,7 +53,6 @@ jobs:
parallel: true

- uses: dciborow/[email protected]
if: ${{ matrix.python-version != '2.7' }}
with:
reporter: github-pr-review
level: warning
Expand All @@ -75,7 +61,6 @@ jobs:
continue-on-error: true

- name: Run pytype checks
if: ${{ matrix.python-version != '2.7' }}
run: pip install pandas pytype toml && ./pytype_reporter.py
env:
PR_NUMBER: ${{ github.event.number }}
Expand Down