Skip to content

Commit

Permalink
Merge branch 'main' into feature/csongor_test
Browse files Browse the repository at this point in the history
  • Loading branch information
csnyulas committed Nov 9, 2023
2 parents 0ee8645 + 556a2b8 commit 993b167
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 18 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Update OS
run: sudo apt-get update
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev libcurl4-openssl-dev
python -m pip install --upgrade setuptools pip wheel
make install-dev
run: make install-dev
- name: Run Tests
run: make test


12 changes: 4 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ LOCAL_ID_MANAGER_API_PORT = 8000
setup: install install-rmlmapper init-saxon local-dotenv-file

install:
@ echo -e "$(BUILD_PRINT)Installing the requirements$(END_BUILD_PRINT)"
@ echo -e "$(BUILD_PRINT)Installing user requirements$(END_BUILD_PRINT)"
@ python -m pip install --upgrade pip
@ python -m pip install --no-cache-dir --upgrade --force-reinstall -r requirements.txt

Expand Down Expand Up @@ -85,13 +85,9 @@ clear-output:
@ rm -rf mappings/$(id)/output/*
@ rm -rf mappings/$(id)/validation/sparql/cm_assertions/*

install-dev:
@ echo -e "$(BUILD_PRINT)Installing the requirements$(END_BUILD_PRINT)"
# @ python -m pip install --no-cache-dir --upgrade --force-reinstall --no-deps ../ted-rdf-conversion-pipeline
# @ python -m pip install --no-cache-dir --upgrade --force-reinstall git+https://github.com/meaningfy-ws/mapping-workbench@feature/TED-1090
# @ python -m pip install --no-cache-dir --upgrade --force-reinstall git+https://github.com/OP-TED/ted-rdf-conversion-pipeline@feature/TED-1090
@ python -m pip install --no-cache-dir --upgrade --force-reinstall git+https://github.com/meaningfy-ws/mapping-workbench
@ python -m pip install --no-cache-dir --upgrade --force-reinstall git+https://github.com/OP-TED/ted-rdf-conversion-pipeline
install-dev: install
@ echo -e "$(BUILD_PRINT)Installing dev requirements$(END_BUILD_PRINT)"
@ python -m pip install --no-cache-dir --upgrade --force-reinstall -r requirements-dev.txt

test:
@ mapping_suite_validator package_F03
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ted-sws @ git+https://github.com/OP-TED/ted-rdf-conversion-pipeline.git

0 comments on commit 993b167

Please sign in to comment.