Skip to content

Commit

Permalink
fix nox to work with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefandinno committed Dec 11, 2024
1 parent 65eaf67 commit bf0bb38
Showing 1 changed file with 6 additions and 56 deletions.
62 changes: 6 additions & 56 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,68 +29,18 @@ jobs:
python -m pip install nox
python -m pip install isort
# - name: Cache nox
# id: cache-nox
# uses: actions/cache@v3
# with:
# path: .nox
# key: ${{ runner.os }}-nox
- name: Cache nox
id: cache-nox
uses: actions/cache@v3
with:
path: .nox
key: ${{ runner.os }}-nox

- name: Info
run: |
python -VV
pip list
# - run: poetry run pytest

- name: run tests
run: nox -r

# - name: install dependencies
# run: python -m pip install -r requirements.txt

# - name: run tests
# run: nox
# - name: Set up Python
# uses: actions/setup-python@v3
# with:
# python-version: ${{ matrix.python-version }}

# - name: Set up Clingo
# shell: pwsh
# run: pip install "clingo${{ matrix.clingo-version }}"

# - name: install dev prerequisites
# shell: pwsh
# run: pip install -r .github/requirements.txt

# - name: info
# shell: pwsh
# run: |
# python -VV
# python -c "import clingo; print(clingo.__version__)"

# - name: install eclingo
# shell: pwsh
# run: python -m pip install .

# - name: test
# shell: pwsh
# run: coverage run -m unittest discover -v

# - name: type check
# shell: pwsh
# run: mypy -p clingox

# - name: lint (pylint)
# if: ${{ matrix.python-version != '3.6' }}
# shell: pwsh
# run: pylint clingox

# - name: lint (flake8)
# shell: pwsh
# run: flake8

# - name: coverage
# shell: pwsh
# run: coverage report --fail-under=100

0 comments on commit bf0bb38

Please sign in to comment.