name: Tests on: push: branches-ignore: [main] pull_request: branches: [main] jobs: fast-tests: runs-on: [self-hosted] steps: - uses: actions/checkout@v4 - name: Run fast tests (unit + e2e) run: ./test.sh ci full-tests: runs-on: [self-hosted, oracle] needs: fast-tests if: github.event_name == 'pull_request' steps: - uses: actions/checkout@v4 - name: Run full tests (with Oracle) run: ./test.sh full env: ORACLE_DSN: ${{ secrets.ORACLE_DSN }} ORACLE_USER: ${{ secrets.ORACLE_USER }} ORACLE_PASSWORD: ${{ secrets.ORACLE_PASSWORD }} - name: Upload QA reports if: always() uses: actions/upload-artifact@v4 with: name: qa-reports path: qa-reports/ retention-days: 30