Skip to content

Commit

Permalink
another try
Browse files Browse the repository at this point in the history
  • Loading branch information
sr258 committed Dec 4, 2019
1 parent 4475247 commit d19c0c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,10 @@ jobs:
run: npm run test
- name: integration-tests
run: npm run test:integration
- name: Linux player-e2e-test
- name: Install puppeteer deps on Linux
if: matrix.os == 'ubuntu-latest'
uses: ianwalter/puppeteer@v2.0.0
with:
args: npm run test:e2e:player
- name: Windows + MacOs player-e2e-test
if: matrix.os != 'ubuntu-latest'
run: sudo apt install build-essentials gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
- name: player-e2e-test
run: npm run test:e2e:player
env:
CI: true
2 changes: 1 addition & 1 deletion scripts/download-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const downloadH5pPackages = async (contentTypeCacheFilePath, directoryPath) => {
await fs.readJSON(contentTypeCacheFilePath)
).contentTypes.map(ct => ct.id);

console.log(`Found ${machineNames.length} already downloaded packages.`);
console.log(`Found ${machineNames.length} packages on H5P Hub.`);

// Create the directory if it doesn't exist
if (!(await fs.pathExists(directoryPath))) {
Expand Down

0 comments on commit d19c0c0

Please sign in to comment.