Skip to content

Commit

Permalink
issues/245 - Removed nctl github action
Browse files Browse the repository at this point in the history
  • Loading branch information
meywood committed Feb 13, 2024
1 parent af86c64 commit ebd59e4
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,40 +29,33 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

# Start NCTL and copy assests over
- name: Start NCTL and copy assests over
run: |
cd script && chmod +x docker-run && ./docker-run
sleep 30
chmod +x docker-copy-assets && ./docker-copy-assets && cd ..
- name: Run the unit tests
- name: run the unit tests
run: ./gradlew clean build

- name: Export project version
run: echo "PROJECT_VERSION=$(./gradlew properties -q | grep "version:" | awk '{print $2}')" >> $GITHUB_ENV

- name: Generate Javadoc
- name: export project version
run: echo "project_version=$(./gradlew properties -q | grep "version:" | awk '{print $2}')" >> $github_env

- name: generate javadoc
run: ./gradlew javadoc

- name: Deploy tests results to GitHub Pages
uses: JamesIves/[email protected]
- name: deploy tests results to github pages
uses: jamesives/[email protected]
with:
branch: gh-pages
clean: true
folder: build/reports/tests
target-folder: docs/latest/junit

- name: Deploy jacoco report to GitHub Pages
uses: JamesIves/[email protected]
- name: deploy jacoco report to github pages
uses: jamesives/[email protected]
with:
branch: gh-pages
clean: true
folder: build/reports/jacoco
target-folder: docs/latest/jacoco

- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
- name: deploy to github pages
uses: jamesives/[email protected]
with:
branch: gh-pages
clean: true
Expand Down

0 comments on commit ebd59e4

Please sign in to comment.