diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..cee0672 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,20 @@ +name: build + +on: [push, pull_request] + +jobs: + windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v1 + - run: (new-object net.webclient).DownloadFile("https://raw.githubusercontent.com/SublimeText/UnitTesting/master/sbin/github.ps1","github.ps1") + - run: | + ./github.ps1 "bootstrap" -verbose + ./github.ps1 "install_package_control" -verbose + ./github.ps1 "run_tests" -coverage -verbose + # ./github.ps1 "run_syntax_tests" -coverage -verbose + - run: | + pip3 install coverage==4.5.4 codecov==2.0.15 + codecov + env: + CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}} diff --git a/.gitignore b/.gitignore index 48223f1..108ad1b 100644 --- a/.gitignore +++ b/.gitignore @@ -57,6 +57,7 @@ !dependencies.json # include important build system files +!.github/ !appveyor.yml !gradle !build.gradle