-
Notifications
You must be signed in to change notification settings - Fork 34
34 lines (26 loc) · 1.09 KB
/
test_latest_release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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/
# temp issue with new string interpolation syntax
# TODO remove this when 0.7.2 or 0.8.0 is released
- run: sed -i 's/\$//g' examples/tcp-client.roc
- name: Run all tests with latest roc release + latest basic-cli release
run: EXAMPLES_DIR=./examples/ ./ci/test_latest_release.sh