Add current directory check #5
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: run-tests | |
on: | |
push: # Should trigger on push and pull requests for all branches | |
branches: | |
- '**' # Matches all branches | |
pull_request: | |
branches: | |
- '**' # Matches all branches | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: # Checkout code from the branch that triggered the workflow | |
ref: ${{ github.ref }} | |
- name: Check current directory | |
run: | | |
echo "Current working directory:" | |
pwd | |
echo "List of files and directories:" | |
ls -al | |
- name: Run unit tests | |
run: | | |
chmod +x pnut/run-tests.sh | |
./pnut/run-tests.sh -Di386 test | |
./pnut/run-tests.sh -Dsh test | |
./pnut/run-tests.sh -Di386 clean | |
./pnut/run-tests.sh -Dsh clean |