add stCodeCopyTest
and stCodeSizeLimit
(#301)
#133
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
name: test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest-16-cores | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup rust env | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
components: llvm-tools-preview | |
override: true | |
- name: Retrieve cached dependencies | |
uses: Swatinem/rust-cache@v2 | |
# fetch ef tests | |
- name: fetch ef tests | |
run: make setup | |
# fetch dump | |
- name: fetch dump | |
run: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} make fetch-dump | |
- uses: taiki-e/install-action@nextest | |
# run tests | |
- name: run tests | |
run: make ef-tests |