Skip to content

Commit

Permalink
Use ./ with relative include paths (kube-burner#429)
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 authored Aug 14, 2023
1 parent 15ea557 commit ce4792f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 57 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/builders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
env:
VERSION: snapshot

- name: Install mkdocs dependencies
run: pip install mkdocs-material mkdocs-include-markdown-plugin mike

- name: Build documentation
run: mkdocs build

- name: Install
run: sudo make install

Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,34 +34,3 @@ jobs:
needs: build
uses: ./.github/workflows/test-k8s.yml
secrets: inherit
report_results:
needs: tests
if: always()
runs-on: ubuntu-latest
steps:

- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 1
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false

- name: Download k8s test results
uses: actions/download-artifact@v3
if: always()
with:
name: test-k8s-results

- name: Download ocp test results
uses: actions/download-artifact@v3
if: always()
with:
name: test-ocp-results

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
test-*-results.xml
25 changes: 0 additions & 25 deletions .github/workflows/test-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,6 @@ jobs:
KIND_VERSION: v0.19.0
K8S_VERSION: ${{matrix.k8s-version}}

- name: Upload test results artifact
uses: actions/upload-artifact@v3
if: always()
with:
name: test-k8s-results
path: test/report.xml

- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always()
with:
report_paths: test/report.xml

ocp-wrapper:
runs-on: ubuntu-latest
concurrency:
Expand Down Expand Up @@ -108,15 +95,3 @@ jobs:
OPENSHIFT_USER: ${{ secrets.OPENSHIFT_USER }}
OPENSHIFT_PASSWORD: ${{ secrets.OPENSHIFT_PASSWORD }}

- name: Upload test results artifact
uses: actions/upload-artifact@v3
if: always()
with:
name: test-ocp-results
path: test/report.xml

- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always()
with:
report_paths: test/report.xml
2 changes: 1 addition & 1 deletion docs/contributing/pullrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ The "build" job uses the file `builders.yml` file to build binaries and images,

### Tests

{% include-markdown "tests.md" %}
{% include-markdown "./tests.md" %}

### Report Results

Expand Down

0 comments on commit ce4792f

Please sign in to comment.