Skip to content

Commit

Permalink
more skip
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Jul 12, 2024
1 parent 07f096c commit f8233b4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
path: node_modules
key: |
${{ env.CACHE_EPOCH }}-${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}
- run: pixi run -e build ci-preflight-node
- run: pixi run dist
- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -60,6 +61,7 @@ jobs:
path: node_modules
key: |
${{ env.CACHE_EPOCH }}-${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}
- run: pixi run -e build ci-preflight-node
- run: pixi run lint

test:
Expand Down Expand Up @@ -87,7 +89,7 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: ipfr-${{ github.run_number }}-dist
- run: pixi run -e ${{ matrix.test-env }} preflight-ci-test
- run: pixi run -e ${{ matrix.test-env }} ci-preflight-test
- run: pixi run ${{ matrix.test-task }}
- uses: actions/upload-artifact@v4
if: always()
Expand Down
11 changes: 9 additions & 2 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,17 @@ cmd = """rm -rf build/pip-freeze-whl/$PIXI_ENVIRONMENT_NAME.txt
&& pip freeze > build/pip-freeze-whl/$PIXI_ENVIRONMENT_NAME.txt
"""

[tasks.ci-preflight-node]
description = "set up some skipped tasks for building in CI"
cmd = """mkdir -p build/skip
&& ls node_modules/.yarn-state.yml
&& touch build/skip/jlpm
|| echo "will install nodejs packages"
"""

[tasks.ci-preflight-test]
description = "set up some skipped tasks for testing in CI"
cmd = """
mkdir -p build/skip
cmd = """mkdir -p build/skip
&& touch
build/skip/jlpm
build/skip/tsc
Expand Down

0 comments on commit f8233b4

Please sign in to comment.