Attempt to use Python3 in integration tests (node dependency) #297
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: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
# NOTE: these need to be valid kindest/node image versions | |
k8s_version: ['1.21.2', '1.22.7', '1.23.5'] | |
steps: | |
- name: Disable Swap | |
run: | | |
sudo swapoff -a | |
sudo rm -f /swapfile | |
- uses: actions/checkout@v2 | |
with: | |
path: kuby-core/ | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install Bundler | |
run: gem install bundler | |
- name: Install Kind | |
run: kuby-core/scripts/install-kind.sh | |
- name: Run Tests | |
run: kuby-core/scripts/integration.sh | |
env: | |
K8S_VERSION: ${{ matrix.k8s_version }} | |
PREBUNDLER_ACCESS_KEY_ID: "${{ secrets.PREBUNDLER_ACCESS_KEY_ID }}" | |
PREBUNDLER_SECRET_ACCESS_KEY: "${{ secrets.PREBUNDLER_SECRET_ACCESS_KEY }}" | |
RAILS_MASTER_KEY: "${{ secrets.RAILS_MASTER_KEY }}" |