Workflow file for this run
This file contains 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
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
integration-test-1: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
env: | |
PKGX_PANTRY_PATH: ${{github.workspace}}/fixtures | |
CLICOLOR_FORCE: 1 | |
GITHUB_TOKEN: ${{github.token}} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pkgxdev/setup@v2 | |
# - run: pkgx --sync #FIXME bug where shebangs don’t cause an auto-sync | |
- run: bin/build stark | |
- run: bin/test stark | |
# local-edit-tests: | |
# env: | |
# PKGX_PANTRY_PATH: ${{github.workspace}}/fixtures | |
# CLICOLOR_FORCE: 1 | |
# GITHUB_TOKEN: ${{github.token}} | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: pkgxdev/setup@v2 | |
# - run: pkgx --sync #FIXME bug where shebangs don’t cause an auto-sync | |
# - run: bin/build stark | |
# - run: bin/test stark | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pkgxdev/dev@main | |
- run: deno test --allow-env --allow-net | |
env: | |
GITHUB_TOKEN: ${{ github.token }} |