diff --git a/.dockerignore b/.dockerignore index a445c6680..ce3552ba4 100644 --- a/.dockerignore +++ b/.dockerignore @@ -22,4 +22,3 @@ scripts/ docker/ .github/ docs/ -dkg-test-suite/ diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml deleted file mode 100644 index 1bcc14abb..000000000 --- a/.github/workflows/e2e.yml +++ /dev/null @@ -1,164 +0,0 @@ -name: run - -on: - push: - branches: [master] - pull_request: - workflow_dispatch: - -env: - CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git - -jobs: - # dkg-substrate integration tests - e2e: - name: e2e-tests - runs-on: ubuntu-latest - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.9.1 - with: - access_token: ${{ github.token }} - - - name: Checkout Code - uses: actions/checkout@v3 - - - name: Configure sccache - run: | - echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV - echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV - - - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.3 - - - name: Restore Cache - if: always() - uses: actions/cache/restore@v3 - with: - path: | - ~/.cargo/registry - target/release - target/debug - key: ${{ runner.os }}-cargo-index-${{ github.ref_name }}-e2e - - - name: Install toolchain - uses: dtolnay/rust-toolchain@stable - with: - toolchain: nightly - - - name: Install Nodejs - uses: actions/setup-node@v3 - with: - node-version-file: "./dkg-test-suite/.nvmrc" - cache: "yarn" - cache-dependency-path: "./dkg-test-suite/yarn.lock" - - - name: Setup DVC - uses: iterative/setup-dvc@v1 - - - name: Populate fixtures - run: dvc pull - - - name: Install Protobuf - run: sudo apt-get install protobuf-compiler - - - name: Install Packages - run: cd dkg-test-suite && yarn install --frozen-lockfile - - - name: Setup DVC - uses: iterative/setup-dvc@v1 - - - name: Populate Fixtures - run: dvc pull - - - name: Build Standalone Node for E2E Tests (Release) - run: cargo build --release -p dkg-standalone-node --features integration-tests - - - name: Run E2E Tests - run: cd dkg-test-suite && yarn test:e2e - - - name: Save Cache - if: ${{ !cancelled() }} - uses: actions/cache/save@v3 - with: - path: | - ~/.cargo/registry - target/release - target/debug - key: ${{ runner.os }}-cargo-index-${{ github.ref_name }}-e2e - - integration-tests: - name: integration-tests - runs-on: ubuntu-latest - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.9.1 - with: - access_token: ${{ github.token }} - - - name: Checkout Code - uses: actions/checkout@v3 - - - name: Configure sccache - run: | - echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV - echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV - - - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.3 - - - name: Restore Cache - if: always() - uses: actions/cache/restore@v3 - with: - path: | - ~/.cargo/registry - target/release - target/debug - key: ${{ runner.os }}-cargo-index-${{ github.ref_name }}-integration-tests - - - name: Install toolchain - uses: dtolnay/rust-toolchain@stable - with: - toolchain: nightly - - - name: Install Nodejs - uses: actions/setup-node@v3 - with: - node-version-file: "./dkg-test-suite/.nvmrc" - cache: "yarn" - cache-dependency-path: "./dkg-test-suite/yarn.lock" - - - name: Setup DVC - uses: iterative/setup-dvc@v1 - - - name: Populate fixtures - run: dvc pull - - - name: Install Protobuf - run: sudo apt-get install protobuf-compiler - - - name: Install Packages - run: cd dkg-test-suite && yarn install --frozen-lockfile - - - name: Setup DVC - uses: iterative/setup-dvc@v1 - - - name: Populate Fixtures - run: dvc pull - - - name: Build Standalone Node for Integration Tests (Release) - run: cargo build --release -p dkg-standalone-node - - - name: Run Proposals E2E Tests - run: cd dkg-test-suite && yarn test:proposals - - - name: Save Cache - if: ${{ !cancelled() }} - uses: actions/cache/save@v3 - with: - path: | - ~/.cargo/registry - target/release - target/debug - key: ${{ runner.os }}-cargo-index-${{ github.ref_name }}-integration-tests diff --git a/.licenserc.yaml b/.licenserc.yaml index 990cff876..16e075539 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -31,8 +31,6 @@ header: - '**/*.lock' - '**/*.toml' - '**/*.yaml' - - 'dkg-test-suite/.husky/pre-commit' - - 'dkg-test-suite/solidity-fixtures/*' - '.nvmrc' - 'jest.config.js' - '**/*.sh' diff --git a/README.md b/README.md index db67979fd..58bfe2a01 100644 --- a/README.md +++ b/README.md @@ -17,20 +17,14 @@
Table of Contents