diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 79207e9..4c7c5e2 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -5,7 +5,6 @@ on: branches: [ "master", "testing" ] pull_request: branches: [ "master" ] - workflow_dispatch: jobs: test: @@ -16,27 +15,30 @@ jobs: python-version: ['3.10', '3.11', '3.12'] steps: - - name: Checkout SOCRATES and JANUS + - uses: actions/checkout@v4 + + - name: Get SOCRATES uses: actions/checkout@v4 with: - repository: FormingWorlds/SOCRATES + repository: 'FormingWorlds/SOCRATES' + path: 'SOCRATES' - - name: build SOCRATES + - name: Build SOCRATES run: | export LD_LIBRARY_PATH="" cd SOCRATES ./configure ./build_code source set_rad_env + cd .. - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - - name: Build Janus + - name: Build JANUS run: | - cd ../JANUS pip install -e . - name: Test with pytest