Skip to content

Commit

Permalink
Create test_suite.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NoxNovus authored Dec 12, 2024
1 parent d9c25d7 commit 837ca69
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Odyssey Test Suite

on:
push:
branches: [ "main" ]
# pull_request:
# branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Build
run: |
npm install
npx webpack
- name: Set up index
run: |
mkdir dist2
mv dist dist2
mv dist2 dist
cp index.html dist/
- name: Test suite
run: |
node src/test/main_test.js

0 comments on commit 837ca69

Please sign in to comment.