Skip to content

Add tactics, techniques, and mitigations from MITRE ATLAS #307

Add tactics, techniques, and mitigations from MITRE ATLAS

Add tactics, techniques, and mitigations from MITRE ATLAS #307

Workflow file for this run

name: Tests & Build
on:
push:
branches: [ develop, "release/**", "feature/**" ]
pull_request:
branches: [ develop ]
workflow_dispatch:
jobs:
# test-pre-commit:
# timeout-minutes: 5
# # The type of runner that the job will run on
# runs-on: ubuntu-latest
# container: python:3.9
# steps:
# - uses: actions/checkout@v2
#
# - name: Run commit hooks.
# run: |
# pip3 --no-cache-dir install pre-commit
# git --version
# pre-commit run -a
#
test-job:
timeout-minutes: 5
runs-on: ubuntu-latest
# needs: [ test-pre-commit ]
steps:
- uses: actions/checkout@v2
- name: Build
run: |
docker-compose build --pull --force-rm d3fend-ontology
- name: Test Owl Load
run: docker-compose run --rm d3fend-ontology make test-load-owl
- name: Test TTL Load
run: docker-compose run --rm d3fend-ontology make test-load-ttl
- name: Test JSON Load
run: docker-compose run --rm d3fend-ontology make test-load-json
- name: Test Load Full
run: docker-compose run --rm d3fend-ontology make test-load-full
- name: Test Jena
run: docker-compose run --rm d3fend-ontology make test-jena
- name: Test Reasoner
run: docker-compose run --rm d3fend-ontology make test-reasoner
- name: Cleanup
run: docker-compose down && docker-compose rm --force
- uses: actions/upload-artifact@v3
with:
name: d3fend.ttl
path: dist/public/d3fend.ttl