diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index e54e393..c88f8b1 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -21,6 +21,11 @@ on: description: Determines whether or not to upload artifacts type: boolean default: false + secrets: + MC_CLIENT_ID: + MC_CLIENT_SECRET: + MC_CLIENT_MID: + MC_CLIENT_BASE_URI: jobs: build_test_archive: @@ -57,5 +62,10 @@ jobs: path: ./src/vscode/*.vsix retention-days: 3 - name: Test - working-directory: ./src + working-directory: ./src + env: + MC_CLIENT_ID: ${{ secrets.MC_CLIENT_ID }} + MC_CLIENT_SECRET: ${{ secrets.MC_CLIENT_SECRET }} + MC_CLIENT_MID: ${{ secrets.MC_CLIENT_MID }} + MC_CLIENT_BASE_URI: ${{ secrets.MC_CLIENT_BASE_URI }} run: dotnet test --no-build --verbosity normal ${{ inputs.test_args }} diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index 078a123..6788c8c 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -37,4 +37,9 @@ jobs: with: environment: "MC Integration" test_args: --filter TestCategory="Compatibility" - build_configuration: ${{ needs.init.outputs.build_configuration }} \ No newline at end of file + build_configuration: ${{ needs.init.outputs.build_configuration }} + secrets: + MC_CLIENT_ID: ${{ secrets.MC_CLIENT_ID }} + MC_CLIENT_SECRET: ${{ secrets.MC_CLIENT_SECRET }} + MC_CLIENT_MID: ${{ secrets.MC_CLIENT_MID }} + MC_CLIENT_BASE_URI: ${{ secrets.MC_CLIENT_BASE_URI }} \ No newline at end of file