Skip to content

Commit

Permalink
Set up CI for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Jan 23, 2024
1 parent 6769f96 commit 535ddd2
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
- name: Check out source code
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Go
id: setup-go
Expand Down Expand Up @@ -73,3 +71,26 @@ jobs:
run: |
curl -sL -H "Authorization: token $GITHUB_TOKEN" -H "Accept: application/vnd.github.v3+json" https://api.github.com/rate_limit
test-windows:
name: Test for Windows
runs-on: windows-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEBUG: 1
steps:
- name: Check out source code
uses: actions/checkout@v4

- name: Set up Go
id: setup-go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true

- name: Run tests
run: make ci

- name: Run test_central
if: ${{ github.event_name == 'pull_request' }}
run: make test_central

0 comments on commit 535ddd2

Please sign in to comment.