Skip to content

Change name

Change name #65

Workflow file for this run

name: Test Python
on: [push, pull_request]
jobs:
test_python:
runs-on: ${{ matrix.os }}
strategy:
matrix:
version: ['3.7', '3.11']
# macos-13 is an intel runner, macos-14 is apple silicon
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
steps:
- uses: actions/checkout@v3
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: 1.20.12
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.version }}
- name: Install go dependencies
run: go get github.com/keller-mark/esbuild-py
# (just so that the dev dependencies are available for the build step)
- name: Install 1
run: pip install .[dev]
- name: Build package
run: python -m build
- name: Install 2 (non-editable)
run: pip install .
- name: Run unit tests
run: pytest