First version, based on https://github.com/adesutherland/HercControl,… #10
Workflow file for this run
This file contains hidden or 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: Test PyHercControl | |
| on: [push] | |
| jobs: | |
| # Test the tool | |
| test: | |
| name: Test | |
| runs-on: [ubuntu-latest] | |
| services: | |
| vm370: | |
| image: rosspatterson/vm370:latest | |
| ports: | |
| - 8038:8038 | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Run tests | |
| run: | | |
| chmod +x PyHercControl/src/herccontrol PyHercControl/tests/basictest.sh | |
| cp PyHercControl/src/herccontrol . | |
| ./herccontrol -v | |
| ./herccontrol -h | |
| # (cd /opt/hercules/vm370 ; hercules -f hercules.conf -d &) | |
| # sleep 15 | |
| ./PyHercControl/tests/basictest.sh | |
| shell: bash |