Skip to content

Commit

Permalink
Add test github action
Browse files Browse the repository at this point in the history
  • Loading branch information
astralaster committed Jul 8, 2024
1 parent 00cf1b5 commit 228fbd3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: test

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

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: build
run: |
cd ..
mkdir temp
cd temp
sudo sh ${{ github.workspace }}/compile.sh ${{ github.workspace }}
- name: tests
run: |
export PATH=$PATH:${{ github.workspace }}/../temp/AgDev_build/bin
sh ${{ github.workspace }}/run_tests.sh

0 comments on commit 228fbd3

Please sign in to comment.