Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Bump semver from 5.7.1 to 5.7.2 #19

Bump semver from 5.7.1 to 5.7.2

Bump semver from 5.7.1 to 5.7.2 #19

Workflow file for this run

name: Tests
on: [pull_request]
env:
NODE_VERSION: "14"
jobs:
python-tests:
name: Python Tests
strategy:
fail-fast: true
matrix:
python-version: ["3.7", "3.10"]
operating-system: ["ubuntu-latest", "windows-latest"]
runs-on: ${{ matrix.operating-system }}
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
- name: "Install Python"
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-vesion }}
- name: "Run tests"
run: pipx run pytest python-src/tests
typescript-tests:
name: "TypeScript Tests"
strategy:
fail-fast: true
matrix:
python-version: ["3.7", "3.10"]
operating-system: ["ubuntu-latest", "windows-latest"]
runs-on: ${{ matrix.operating-system }}
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
- name: "Install Node"
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: "yarn"
- name: "Install Python"
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-vesion }}
- name: "Install dependencies"
run: yarn
- name: "Run tests"
uses: GabrielBB/xvfb-action@v1
with:
run: yarn test
packaging:
name: "Packaging"
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
- name: "Install Node"
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: "yarn"
- name: "Install dependencies"
run: yarn
- name: "Build package"
run: yarn run vsce package --yarn