diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61b9e06f938..e1a947017fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: generate-reports: runs-on: ubuntu-latest - if: (github.repository == 'logicmoo/metta-testsuite') || (github.event_name != 'schedule') + if: (github.repository == 'logicmoo/metta-testsuite') || github.repository == 'logicmoo/metta-wam') || (github.event_name != 'schedule') env: JOB_TYPE: ${{ github.event_name == 'schedule' && 'nightly' || 'ci' }} @@ -33,23 +33,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - # Clone the metta-testsuite development branch - - name: Clone metta-testsuite development branch - run: | - git clone --branch development --depth 1 https://github.com/logicmoo/metta-testsuite.git metta-testsuite - - # Copy the tests/* directory from metta-testsuite - - name: Copy tests from metta-testsuite - run: | - rm -rf tests - mkdir -p tests/ - cp -r metta-testsuite/tests/* tests/ - rm -rf reports - mkdir -p reports/ - cp -r metta-testsuite/reports/* reports/ - mkdir -p test-scripts/ - cp -r metta-testsuite/test-scripts/* test-scripts/ - - name: Ensure just-results branch exists env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -84,6 +67,23 @@ jobs: echo "No previous test results found." fi + # Clone the metta-testsuite development branch + - name: Clone metta-testsuite development branch + run: | + git clone --branch development --depth 1 https://github.com/logicmoo/metta-testsuite.git metta-testsuite + + # Copy the tests/* directory from metta-testsuite + - name: Copy tests from metta-testsuite + run: | + rm -rf tests + mkdir -p tests/ + cp -r metta-testsuite/tests/* tests/ + rm -rf reports + mkdir -p reports/ + cp -r metta-testsuite/reports/* reports/ + mkdir -p test-scripts/ + cp -r metta-testsuite/test-scripts/* test-scripts/ + - name: Make Install Script Executable run: chmod +x INSTALL.sh