.github/workflows/test_latest_release.yml #63
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
on: | |
workflow_dispatch: | |
# this cancels workflows currently in progress if you start a new one | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-latest-release: | |
runs-on: [ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: remove everything except some ci scripts | |
run: | | |
mkdir temp | |
mv ./ci/test_latest_release.sh temp | |
mv ./ci/get_latest_release_git_files.sh temp | |
find . -mindepth 1 -maxdepth 1 ! -name 'temp' -exec rm -rf {} + | |
- name: Get all git files of the latest basic-cli release | |
run: ./temp/get_latest_release_git_files.sh | |
- name: Use ./ci/test_latest_release.sh of the latest git main | |
run: mv -f ./temp/test_latest_release.sh ./ci/ | |
- name: Run all tests with latest roc release + latest basic-cli release | |
run: EXAMPLES_DIR=./examples/ ./ci/test_latest_release.sh |