Skip to content

Commit

Permalink
Merge pull request #289 from dice-group/general_adjustments
Browse files Browse the repository at this point in the history
General adjustments and documentation update
  • Loading branch information
Demirrr authored Oct 14, 2023
2 parents 372f6d4 + 1d12c11 commit a534a22
Show file tree
Hide file tree
Showing 123 changed files with 3,472 additions and 17,868 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/gitext.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/lint.yml

This file was deleted.

38 changes: 21 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
name: Test
name: Python package

on: [push, pull_request]
on: [push,pull_request]

jobs:
test:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
max-parallel: 5

steps:
- uses: actions/checkout@v3
- name: Install tox
id: install-tox
run: |
pip install tox
echo "tox_version=$(pip list | grep tox | tr -d ' ')" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
with:
key: ${{ runner.os }}-${{ steps.install-tox.outputs.tox_version }}-test-${{ hashFiles('environment.yml', 'tox.ini') }}
path: .tox
- name: Test with tox
run: |
tox -o
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Set up Conda
uses: conda-incubator/setup-miniconda@v2
with:
environment-file: environment.yml

- name: Test with pytest
run: |
wget https://files.dice-research.org/projects/Ontolearn/KGs.zip
unzip KGs.zip
conda run -n test pytest -p no:warnings -x
Loading

0 comments on commit a534a22

Please sign in to comment.