File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040
4141 - name : Run tests
4242 run : npm test
43+
44+ # Tokenizes the official Q# samples from a pinned QDK release and fails if
45+ # any of them produce `invalid` / `illegal` scopes. Bump QDK_REF to test
46+ # against a newer language surface.
47+ corpus :
48+ runs-on : ubuntu-latest
49+ env :
50+ QDK_REF : v1.29.0
51+ steps :
52+ - uses : actions/checkout@v4
53+
54+ - name : Check out the QDK samples (pinned)
55+ uses : actions/checkout@v4
56+ with :
57+ repository : microsoft/qdk
58+ ref : ${{ env.QDK_REF }}
59+ path : qdk
60+ sparse-checkout : samples
61+
62+ - name : Use Node.js
63+ uses : actions/setup-node@v4
64+ with :
65+ node-version : 20.x
66+ cache : npm
67+
68+ - name : Install dependencies
69+ run : npm ci
70+
71+ - name : Run tests against the QDK ${{ env.QDK_REF }} samples
72+ env :
73+ QDK_SAMPLES : ${{ github.workspace }}/qdk/samples
74+ run : npm test
You can’t perform that action at this time.
0 commit comments