Skip to content

Commit

Permalink
(github.repository == 'logicmoo/metta-testsuite') || (github.reposito…
Browse files Browse the repository at this point in the history
…ry == 'logicmoo/metta-wam') || (github.event_name != 'schedule')
  • Loading branch information
TeamSPoon committed Dec 21, 2024
1 parent 232aff4 commit 9292572
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand All @@ -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 }}
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 9292572

Please sign in to comment.