New OnAllPDU seeting that lets users choose to handle all PDUs from S… #418
This file contains 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
name: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Set up GCC | |
run: | | |
sudo apt install gcc g++ -y | |
shell: bash | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.18 | |
- name: Linter | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: latest | |
- name: Start SMSC | |
run: | | |
g++ example/smsc_simulator/smsc.cpp -o smsc | |
./smsc & | |
shell: bash | |
- name: Test Coverage | |
run: go test -v -race -count=1 -coverprofile=coverage.out | |
- name: Convert coverage to lcov | |
uses: jandelgado/gcov2lcov-action@v1 | |
with: | |
version: latest | |
infile: coverage.out | |
outfile: coverage.lcov | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.github_token }} | |
path-to-lcov: coverage.lcov |