Skip to content

Commit

Permalink
[feat]: run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
castlele committed Dec 27, 2024
1 parent c0799eb commit ab6a936
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,16 @@ on:
branches: [ "master" ]

jobs:
test:
runs-on: [ ubuntu-latest, windows-latest, macos-13, macos-latest ]
unit-tests:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
- macos-13
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@master

Expand All @@ -24,9 +32,13 @@ jobs:
run: |
luarocks make
- name: test
run: |
./run_tests.sh "*"
deploy:
runs-on: ubuntu-latest
needs: test
needs: unit-tests
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@master
Expand Down

0 comments on commit ab6a936

Please sign in to comment.