Skip to content

Workflow file for this run

on:
pull_request:
workflow_dispatch:
env:
PKGX_PANTRY_PATH: ${{github.workspace}}/fixtures
CLICOLOR_FORCE: 1
GITHUB_TOKEN: ${{github.token}}
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:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pkgxdev/setup@v2
- run: pkgx --sync #FIXME bug where shebangs don’t cause an auto-sync
- run: '! bin/status'
- run: cp modified/package.yml stark/package.yml
working-directory: fixtures/projects
- run: test $(bin/status) = stark
- run: bin/build
- run: bin/test
- run: test $(pkgx stark) = not_much_u
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 }}