Skip to content

Commit

Permalink
only master and only @ metta-testsuite
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSPoon committed Dec 10, 2024
1 parent ac38d96 commit 9d5f253
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .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')

env:
JOB_TYPE: ${{ github.event_name == 'schedule' && 'nightly' || 'ci' }}
Expand All @@ -33,6 +33,19 @@ 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: |
cp -r metta-testsuite/tests/* tests/
cp -r metta-testsuite/tests/* reports/
mkdir -p test-scripts/
cp -r metta-testsuite/test-scripts/*
- name: Ensure just-results branch exists
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 9d5f253

Please sign in to comment.