Download .github/workflows/Extension_test.yml from posix4e/puppet: direct link, hf CLI and curl.
- Browser
- Download file 1.1 kB
-
https://huggingface.co/spaces/posix4e/puppet/resolve/main/.github/workflows/Extension_test.yml
- Command line
-
hf download hf://spaces/posix4e/puppet/.github/workflows/Extension_test.yml
-
curl -L -o Extension_test.yml https://huggingface.co/spaces/posix4e/puppet/resolve/main/.github/workflows/Extension_test.yml
1.1 kB
| name: Extension Test and Release | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Debug BackgroundSpec | |
| run: cat /home/runner/work/puppet/puppet/earth/Tests/BackgroundSpec.js | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: 14 # Change to your preferred Node.js version | |
| - name: Clear npm cache | |
| run: npm cache clean --force | |
| - name: Clear Yarn cache | |
| run: yarn cache clean | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run Jasmine tests | |
| run: npm install --save-dev jasmine | |
| - name: Configure Jasmine | |
| run: npm install -g jasmine | |
| - name: Install jasmine-ajax | |
| run: npm install jasmine-ajax --save-dev | |
| - name: Configure project | |
| run: npx jasmine init | |
| - name: Test project | |
| run: npx jasmine /home/runner/work/puppet/puppet/earth/Tests/BackgroundSpec.js | |