Skip to content

Commit

Permalink
Closes #79: Migrated to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thatsIch committed Sep 27, 2021
1 parent 89d67ad commit 851d970
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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}}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
!dependencies.json

# include important build system files
!.github/
!appveyor.yml
!gradle
!build.gradle
Expand Down

0 comments on commit 851d970

Please sign in to comment.