diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 22f303281b..15f7bfbb7f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,3 +1,40 @@ -# Global owners. If you want to set more specific (per-directory, per-language) owners, see the write-up at -# https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-code-owners -* @durch @futurechimp @jstuczyn @neacsu \ No newline at end of file +# Lines starting with '#' are comments. +# Each line is a file pattern followed by one or more owners. + +# More details are here: https://help.github.com/articles/about-codeowners/ + +# The '*' pattern is global owners. + +# Order is important. The last matching pattern has the most precedence. +# The folders are ordered as follows: + +# In each subsection folders are ordered first by depth, then alphabetically. +# This should make it easy to add new rules without breaking existing ones. + +# Something weird not covered by anything else +* @futurechimp @mmsinclair + +# Rust rules: +*.rs @durch @futurechimp @jstuczyn @neacsu +Cargo.* @durch @futurechimp @jstuczyn @neacsu + +# JS rules: +*.js @mmsinclair @fmtabbara @Aid19801 +*.ts @mmsinclair @fmtabbara @Aid19801 +*.tsx @mmsinclair @fmtabbara @Aid19801 +*.jsx @mmsinclair @fmtabbara @Aid19801 + +# Something looking like possible documentation rules: +*.md @mfahampshire + +# our docker scripts +/docker/ @neacsu + +# if there are any changes in the core crypto, I feel like Ania should take a look: +/common/crypto/ @aniampio +/common/nymsphinx/ @aniampio + +# Explorer and wallet should probably get looked by the product team +/explorer/ @nymtech/product +/tauri-wallet/ @nymtech/product +/wallet-web/ @nymtech/product diff --git a/.github/workflows/network-explorer.yml b/.github/workflows/network-explorer.yml index d27939fee4..f10bd21e7f 100644 --- a/.github/workflows/network-explorer.yml +++ b/.github/workflows/network-explorer.yml @@ -4,9 +4,6 @@ on: push: paths: - 'explorer/**' - pull_request: - paths: - - 'explorer/**' defaults: run: @@ -52,7 +49,7 @@ jobs: KEYBASE_NYMBOT_USERNAME: "${{ secrets.KEYBASE_NYMBOT_USERNAME }}" KEYBASE_NYMBOT_PAPERKEY: "${{ secrets.KEYBASE_NYMBOT_PAPERKEY }}" KEYBASE_NYMBOT_TEAM: "${{ secrets.KEYBASE_NYMBOT_TEAM }}" - KEYBASE_NYM_CHANNEL: "dev-product-ci" + KEYBASE_NYM_CHANNEL: "ci-network-explorer" IS_SUCCESS: "${{ job.status == 'success' }}" uses: docker://keybaseio/client:stable-node with: diff --git a/.github/workflows/nym-wallet-tests.yml b/.github/workflows/nym-wallet-tests.yml new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/.github/workflows/nym-wallet-tests.yml @@ -0,0 +1 @@ + diff --git a/.github/workflows/nym_wallet.yml b/.github/workflows/nym_wallet.yml new file mode 100644 index 0000000000..58a093c66b --- /dev/null +++ b/.github/workflows/nym_wallet.yml @@ -0,0 +1,51 @@ +name: webdriverio tests for nym wallet + +on: + push: + paths: + - '/tauri-wallet/*' +defaults: + run: + working-directory: tauri-wallet + +jobs: + test: + name: wallet tests + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Tauri dependencies + run: > + sudo apt-get update && + sudo apt-get install -y + libgtk-3-dev + libgtksourceview-3.0-dev + webkit2gtk-4.0 + libappindicator3-dev + webkit2gtk-driver + xvfb + + - name: Node v16 + uses: actions/setup-node@v1 + with: + node-version: 16.x + + - name: Build application + run: yarn run webpack:build & yarn run tauri:build + working-directory: tauri-wallet + + - name: Yarn install + run: yarn install + working-directory: webdriver/ + + - name: Install tauri-driver + uses: actions-rs/cargo@v1 + with: + command: install + args: tauri-driver + + - name: Launch tests + run: xvfb-run yarn test:login + working-directory: webdriver/