Skip to content

Commit

Permalink
[ test ] Layout derivation tests differently
Browse files Browse the repository at this point in the history
  • Loading branch information
buzden committed Sep 14, 2023
1 parent 593c8bf commit ec1adec
Show file tree
Hide file tree
Showing 1,342 changed files with 28 additions and 28 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-deptycheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ jobs:
run: |
(
echo -n "derivation-test-sets=["
find tests/gen-derivation/ -type f,l -name run | \
grep -v '/_' | sed 's|^tests/gen-derivation/|"|' | sed 's|/[^/]*/run$|"|' | \
find tests/derivation/ -type f,l -name run | \
grep -v '/_' | sed 's|^tests/derivation/|"|' | sed 's|/[^/]*/run$|"|' | \
sort | uniq | awk 'ORS=", "' | head -c -2
echo "]"
) >> "$GITHUB_OUTPUT"
Expand All @@ -216,7 +216,7 @@ jobs:
- name: Untar the `pack` dir
run: tar -xvf "${{ env.pack_dir_file }}" --one-top-level=/ --touch

- run: pack test deptycheck "gen-derivation/${{matrix.test_set}}"
- run: pack test deptycheck "derivation/${{matrix.test_set}}"

#################
# Test examples #
Expand Down
30 changes: 15 additions & 15 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,26 +83,26 @@ deptycheck:test:derive:
- "*"
- src/**/*
- tests/*
- tests/gen-derivation/**/*
- tests/derivation/**/*
parallel:
matrix:
- test_set:
- inputvalidation/
- up-to-renaming-ttimp-eq/
- canonicsig/
- cons-analysis/
- derivation/infra/
- arg-deps/
- derivation/least-effort/print/adt
- derivation/least-effort/print/gadt
- derivation/least-effort/print/regression
- derivation/least-effort/run/adt
- derivation/least-effort/run/gadt
- derivation/least-effort/run/regression
- derivation/core/
- derivation/distribution/
- infra/
- utils/up-to-renaming-ttimp-eq/
- utils/canonicsig/
- utils/cons-analysis/
- utils/arg-deps/
- least-effort/print/adt
- least-effort/print/gadt
- least-effort/print/regression
- least-effort/run/adt
- least-effort/run/gadt
- least-effort/run/regression
- core/
- distribution/
script:
- NUM_THREADS=2 pack test deptycheck gen-derivation/"$test_set"
- NUM_THREADS=2 pack test deptycheck derivation/"$test_set"

pil:build:
stage: pil:build
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions tests/derivation/distribution/_common
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit ec1adec

Please sign in to comment.