release: self-contained (no monorepo bootstrap; direct .imp engine) #20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PyTest | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - "*/ci-check" | |
| pull_request: {} | |
| jobs: | |
| test: | |
| name: PyTest | |
| 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] | |
| steps: | |
| - name: Checkout repository | |
| 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 | |
| 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 |