add changelog entries for upcoming 1.2.1 release #334
Workflow file for this run
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: Integration Tests | |
on: [push] | |
env: | |
VICEROY_VERSION: 0.9.3 | |
jobs: | |
integration-tests-tinygo: | |
strategy: | |
matrix: | |
include: | |
# Newest supported configuration | |
- go-version: '~1.21.0' | |
tinygo-version: '0.30.0' | |
# Oldest supported configuration | |
- go-version: '~1.19.0' | |
tinygo-version: '0.28.1' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout fastly/compute-sdk-go | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Install TinyGo | |
uses: ./.github/actions/install-tinygo | |
with: | |
tinygo-version: ${{ matrix.tinygo-version }} | |
- name: Setup Fastly CLI | |
uses: fastly/compute-actions/setup@v5 | |
- name: Install Viceroy ${{ env.VICEROY_VERSION }} | |
run: | | |
echo "Install Viceroy ${{ env.VICEROY_VERSION }}..." | |
wget https://github.com/fastly/Viceroy/releases/download/v${{ env.VICEROY_VERSION }}/viceroy_v${{ env.VICEROY_VERSION }}_linux-amd64.tar.gz | |
mkdir -p $HOME/bin | |
tar -xzf viceroy_v${{ env.VICEROY_VERSION }}_linux-amd64.tar.gz --directory $HOME/bin | |
echo "$HOME/bin" >> $GITHUB_PATH | |
shell: "bash" | |
- name: Check our dependencies | |
run: | | |
go version | |
tinygo version | |
fastly version | |
viceroy --version | |
- name: Run Integration Tests | |
run: RUST_LOG="viceroy=info,viceroy-lib=info" tinygo test -v -target=fastly-compute.json -tags fastlyinternaldebug ./integration_tests/... | |
integration-tests-go: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout fastly/compute-sdk-go | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '~1.21.0' | |
- name: Setup Fastly CLI | |
uses: fastly/compute-actions/setup@v5 | |
- name: Install Viceroy ${{ env.VICEROY_VERSION }} | |
run: | | |
echo "Install Viceroy ${{ env.VICEROY_VERSION }}..." | |
wget https://github.com/fastly/Viceroy/releases/download/v${{ env.VICEROY_VERSION }}/viceroy_v${{ env.VICEROY_VERSION }}_linux-amd64.tar.gz | |
mkdir -p $HOME/bin | |
tar -xzf viceroy_v${{ env.VICEROY_VERSION }}_linux-amd64.tar.gz --directory $HOME/bin | |
echo "$HOME/bin" >> $GITHUB_PATH | |
shell: "bash" | |
- name: Check our dependencies | |
run: | | |
go version | |
fastly version | |
viceroy --version | |
- name: Run Integration Tests | |
run: RUST_LOG="viceroy=info,viceroy-lib=info" GOARCH=wasm GOOS=wasip1 go test -tags fastlyinternaldebug -exec "viceroy run -C fastly.toml" -v ./integration_tests/... |