Skip to content

Add package url factory (#108) #338

Add package url factory (#108)

Add package url factory (#108) #338

Workflow file for this run

name: Test
on:
push:
branches:
- 'main'
pull_request:
workflow_dispatch:
jobs:
test_empack:
runs-on: ubuntu-latest
env:
TARGET_PLATFORM: emscripten-wasm32
GITHUB_OWNER: 'emscripten-forge'
strategy:
fail-fast: false
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci_env.yml
cache-environment: true
- name: Install empack
shell: bash -l {0}
run: |
pip install .
- name: Install Playwright
shell: bash -l {0}
run: |
playwright install
- name: Install pyjs-code-runner
shell: bash -l {0}
run: |
python -m pip install git+https://github.com/emscripten-forge/pyjs-code-runner --no-deps --ignore-installed
- name: Run pytest
shell: bash -l {0}
run: |
pytest -v -s tests/
- name: Run cli from terminal
shell: bash -l {0}
run: |
empack --help
empack pack --help