Run all tests with the bootstrapped self-hosted compiler #612
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: Run all tests with the bootstrapped self-hosted compiler | |
on: | |
schedule: | |
- cron: "40 2 * * *" | |
jobs: | |
specs: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- run: rake bootstrap | |
- run: bash -c 'bundle exec ruby test/all.rb | tee >(egrep "[0-9]+ runs, [0-9]+ assertions" > out.log) || :' | |
env: | |
NAT_BINARY: bin/nat | |
REPORTER: none | |
- run: bash -c 'cat out.log | bundle exec ruby test/support/post_minitest_stats_to_api.rb' | |
env: | |
STATS_API_SECRET: ${{ secrets.STATS_API_SECRET }} |