Skip to content

fix: test workflow uses maps repo directly (no monorepo) - #3

Merged
ronaldtse merged 1 commit into
mainfrom
fix/test-workflow
Aug 20, 2026
Merged

fix: test workflow uses maps repo directly (no monorepo)#3
ronaldtse merged 1 commit into
mainfrom
fix/test-workflow

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

The old workflow checked out the monorepo, ran Ruby bootstrap, and compiled maps to Python modules. Our engine parses .imp files directly — just checkout the maps repo and set the path.

Comment on lines +10 to +29
name: PyTest (${{ matrix.os }}, ${{ matrix.python }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python: [3.8, "3.10", 3.11, 3.12]
os: [ubuntu-latest]
python: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: interscript/interscript
- name: Run bootstrap script
run: ruby bootstrap.rb
- name: Use Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
- name: Use Python
uses: actions/setup-python@v5
repository: interscript/maps
path: maps
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Compile maps
run: cd python; pip install regex pytest; bash ./build.sh; pip install .
- name: PyTest
run: cd python; pytest
- run: pip install -e ".[dev]"
- run: pytest tests/ -v
env:
INTERSCRIPT_MAPS_PATH: ${{ github.workspace }}/maps/maps
@ronaldtse
ronaldtse merged commit 3cdbad9 into mainAug 20, 2026
3 of 6 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@ronaldtse@github-advanced-security