-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
253 changed files
with
382 additions
and
7,830 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,6 @@ jobs: | |
deploy-docs: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
package: [ "nyxx", "nyxx_commander", "nyxx_extensions", "nyxx_interactions", "nyxx_lavalink" ] | ||
|
||
steps: | ||
- name: Cache | ||
uses: actions/cache@v2 | ||
|
@@ -29,19 +25,17 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Install dependencies | ||
working-directory: ./${{ matrix.package }} | ||
run: dart pub get | ||
|
||
- name: Generate docs | ||
working-directory: ./${{ matrix.package }} | ||
run: dartdoc | ||
|
||
- name: Deploy nyxx dev docs | ||
uses: easingthemes/[email protected] | ||
env: | ||
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_SERVER_KEY }} | ||
ARGS: "-rltDzvO" | ||
SOURCE: "${{ matrix.package }}/doc/api/" | ||
SOURCE: "doc/api/" | ||
REMOTE_HOST: ${{ secrets.DEPLOY_REMOTE_HOST }} | ||
REMOTE_USER: ${{ secrets.DEPLOY_REMOTE_USER }} | ||
TARGET: "${{ secrets.DEPLOY_REMOTE_TARGET }}/dartdocs/${{ matrix.package }}/" | ||
TARGET: "${{ secrets.DEPLOY_REMOTE_TARGET }}/dartdocs/nyxx" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,54 +27,15 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Install dependencies | ||
working-directory: ./nyxx | ||
run: dart pub get | ||
|
||
- name: Analyze project source | ||
working-directory: ./nyxx | ||
run: dart analyze | ||
|
||
- name: Compile tests | ||
working-directory: ./nyxx/test | ||
working-directory: ./test | ||
run: dart2native travis.dart | ||
|
||
- name: Run tests | ||
working-directory: ./nyxx/test | ||
working-directory: ./test | ||
run: ./travis.exe | ||
|
||
test-commander: | ||
name: Tests commander package | ||
needs: [test-nyxx] | ||
runs-on: ubuntu-latest | ||
env: | ||
TEST_TOKEN: ${{ secrets.TEST_TOKEN }} | ||
steps: | ||
- name: Cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.pub_cache | ||
key: ${{ runner.os }} | ||
|
||
- name: Setup Dart Action | ||
uses: cedx/[email protected] | ||
with: | ||
release-channel: stable | ||
|
||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Install dependencies | ||
working-directory: ./nyxx_commander | ||
run: dart pub get | ||
|
||
- name: Analyze project source | ||
working-directory: ./nyxx_commander | ||
run: dart analyze | ||
|
||
- name: Compile tests | ||
working-directory: ./nyxx_commander/test | ||
run: dart2native commander-test.dart | ||
|
||
- name: Run tests | ||
working-directory: ./nyxx_commander/test | ||
run: ./commander-test.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,83 +28,10 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Install dependencies | ||
working-directory: ./nyxx | ||
run: dart pub get | ||
|
||
- name: Analyze project source | ||
working-directory: ./nyxx | ||
run: dart analyze | ||
|
||
- name: Unit tests | ||
working-directory: ./nyxx | ||
run: dart test test/unit.dart | ||
|
||
analyze-subpackages: | ||
needs: [ test-nyxx ] | ||
runs-on: ubuntu-latest | ||
env: | ||
TEST_TOKEN: ${{ secrets.TEST_TOKEN }} | ||
|
||
strategy: | ||
matrix: | ||
package: [ "nyxx_commander", "nyxx_lavalink" ] | ||
|
||
steps: | ||
- name: Cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.pub_cache | ||
key: ${{ runner.os }} | ||
|
||
- name: Setup Dart Action | ||
uses: cedx/[email protected] | ||
with: | ||
release-channel: stable | ||
|
||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Install dependencies | ||
working-directory: ./${{ matrix.package }} | ||
run: dart pub get | ||
|
||
- name: Analyze project source | ||
working-directory: ./${{ matrix.package }} | ||
run: dart analyze | ||
|
||
test-subpackages: | ||
needs: [ test-nyxx ] | ||
runs-on: ubuntu-latest | ||
env: | ||
TEST_TOKEN: ${{ secrets.TEST_TOKEN }} | ||
|
||
strategy: | ||
matrix: | ||
package: [ "nyxx_extensions", "nyxx_interactions" ] | ||
|
||
steps: | ||
- name: Cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.pub_cache | ||
key: ${{ runner.os }} | ||
|
||
- name: Setup Dart Action | ||
uses: cedx/[email protected] | ||
with: | ||
release-channel: stable | ||
|
||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Install dependencies | ||
working-directory: ./${{ matrix.package }} | ||
run: dart pub get | ||
|
||
- name: Analyze project source | ||
working-directory: ./${{ matrix.package }} | ||
run: dart analyze | ||
|
||
- name: Unit tests | ||
working-directory: ./${{ matrix.package }} | ||
run: dart test test/unit.dart |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.