Skip to content

add local only as network mode #25

add local only as network mode

add local only as network mode #25

name: Compatibility tests with testomat and slack (test-debugging)
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test:
name: Run Tests on Ubuntu
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
pull-requests: write
steps:
- name: Check out the repository
uses: actions/checkout@v3
- name: Create config.yml file from secret
env:
CONFIG_YML_CONTENT: ${{ secrets.CONFIG_YML_CONTENT }}
run: |
echo "$CONFIG_YML_CONTENT" > config.yml
- name: Cache node_modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ubuntu-latest-npm-cache-${{ hashFiles('package-lock.json') }}
restore-keys: |
ubuntu-latest-npm-cache-
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '22' # or specify any version you need
- name: Cache downloaded versions
uses: actions/cache@v3
with:
path: heartsFolder/
key: ubuntu-latest-hearts-cache
- name: Run getHearts.sh script
run: |
chmod +x ./getHearts.sh
./getHearts.sh ubuntu-latest amd64
- name: Install dependencies
run: npm install
- name: Run compatibility tests
run: npm run test:comp:testomatio
env:
TESTOMATIO: ${{ secrets.TESTOMATIO }}
GH_PAT: ${{ github.token }}
GH_KEEP_OUTDATED_REPORTS: 1
SLACK_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
SLACK_CHANNEL: 'C07NFB0H5RN' #test-debugging channel id