ecosystem_compat_test #115
This file contains hidden or 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
| # GENERATED BY ./ecosystem_compat_test.ts -- DO NOT DIRECTLY EDIT | |
| name: ecosystem_compat_test | |
| on: | |
| schedule: | |
| - cron: 0 10 * * 1-5 | |
| workflow_dispatch: {} | |
| jobs: | |
| test: | |
| runs-on: '${{ matrix.runner }}' | |
| strategy: | |
| matrix: | |
| include: | |
| - os: linux | |
| runner: ubuntu-latest | |
| - os: windows | |
| runner: windows-latest | |
| - os: darwin | |
| runner: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| with: | |
| submodules: true | |
| - name: Setup Deno | |
| uses: denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 | |
| with: | |
| deno-version: canary | |
| - name: Install Python | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 | |
| with: | |
| python-version: 3.11 | |
| - name: Run tests | |
| run: deno -A tools/ecosystem_compat_tests.ts | |
| - name: Upload the report to dl.deno.land | |
| env: | |
| AWS_ACCESS_KEY_ID: '${{ vars.S3_ACCESS_KEY_ID }}' | |
| AWS_SECRET_ACCESS_KEY: '${{ secrets.S3_SECRET_ACCESS_KEY }}' | |
| AWS_ENDPOINT_URL_S3: '${{ vars.S3_ENDPOINT }}' | |
| AWS_DEFAULT_REGION: '${{vars.S3_REGION }}' | |
| run: 'aws s3 cp tools/ecosystem_report.json s3://dl-deno-land/ecosystem-compat-test/$(date +%F)/report-${{matrix.os}}.json' | |
| summary: | |
| needs: | |
| - test | |
| if: always() | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| with: | |
| submodules: true | |
| - name: Setup Deno | |
| uses: denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 | |
| - name: Install Python | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 | |
| with: | |
| python-version: 3.11 | |
| - name: Post message to slack channel | |
| env: | |
| SLACK_TOKEN: '${{ secrets.NODE_COMPAT_SLACK_TOKEN }}' | |
| SLACK_CHANNEL: '${{ secrets.NODE_COMPAT_SLACK_CHANNEL }}' | |
| run: deno -A tools/ecosystem_compat_slack.ts | |
| # gagen:pin actions/checkout@v6 = de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| # gagen:pin actions/setup-python@v6 = a309ff8b426b58ec0e2a45f0f869d46889d02405 | |
| # gagen:pin denoland/setup-deno@v2 = 667a34cdef165d8d2b2e98dde39547c9daac7282 |