Define 'Credential Scrubbing' as Source Code Hardening technique #478
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests & Build | |
on: | |
push: | |
branches: [ master, 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: Setup docker-compose | |
# run: pip install docker-compose | |
- 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 |