diff --git a/.github/workflows/version-testing.yml b/.github/workflows/version-testing.yml index eb26e003..9bd4abef 100644 --- a/.github/workflows/version-testing.yml +++ b/.github/workflows/version-testing.yml @@ -1,6 +1,8 @@ name: Version Testing on: push: + schedule: + - cron: "0 7 * * *" jobs: test-untested-versions: runs-on: ubuntu-20.04 @@ -79,7 +81,7 @@ jobs: - run: PYTHONPATH=${PYTHONPATH}:$(pwd)/scripts python3 -m gather_version_artifacts - run: git --no-pager diff - run: rm -rf versions_artifacts # the artifacts shouldn't be committed - - run: echo "::set-output name=branch_name::$(date +version-testing-%Y%m%d)_ng" + - run: echo "::set-output name=branch_name::$(date +version-testing-%Y%m%d)" id: branch_name - run: | # update 'Supported packages' section in README.md PYTHONPATH=${PYTHONPATH}:$(pwd)/scripts python3 -m update_supported_packages_documentation @@ -96,7 +98,7 @@ jobs: branch: ${{steps.branch_name.outputs.branch_name}} commit-message: ${{ env.new_versions }} body: ${{ env.new_versions }} - base: fix-tested-versions + base: main labels: version-testing, automerge reviewers: GuyMoses,nadav3396,shanishiri diff --git a/scripts/test_untested_versions.js b/scripts/test_untested_versions.js index 81d61416..a880d7da 100644 --- a/scripts/test_untested_versions.js +++ b/scripts/test_untested_versions.js @@ -56,7 +56,6 @@ for (const package of instrumentationToTest) { `\nTesting ${untestedVersions.length} untested versions of ${package} since ${highestExistingVersion}...` ); backupPackageVersions(package); - console.info(untestedVersions) // if this is run locally, only test the first and last versions untestedVersions = @@ -64,8 +63,6 @@ for (const package of instrumentationToTest) { ? untestedVersions : [untestedVersions[0], untestedVersions[untestedVersions.length - 1]]; - console.info(untestedVersions) - fs.writeFileSync( `src/instrumentations/${package}/tested_versions/${runtimeVersion}/${package}`, untestedVersions.join('\n') + '\n'