Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
jobs
jobs-0.10.0-git.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jobs-0.10.0-git.patch of Package jobs
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..2d9ecb0 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + pull_request: + branches: [ $default-branch ] + release: + types: + - created + +jobs: + test: + name: "Erlang Test" + runs-on: ubuntu-latest + strategy: + matrix: + otp: [21, 22, 23, 24] + fail-fast: false + container: + image: erlang:${{ matrix.otp }} + steps: + - uses: actions/checkout@v3 + - name: Test + run: make ci diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b6173b6..0000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -language: erlang -sudo: false -otp_release: -- 23.1.2 -- 23.0.4 -- 22.3.4 -- 21.3.8 -script: -- make ci -notifications: - email: - on_success: never diff --git a/src/jobs_server.erl b/src/jobs_server.erl index a65b20c..186aefc 100644 --- a/src/jobs_server.erl +++ b/src/jobs_server.erl @@ -162,7 +162,7 @@ dequeue(Type, N) when N==infinity; is_integer(N), N > 0 -> add_queue(Name, Options) -> call(?SERVER, {add_queue, Name, Options}). --spec modify_queue(queue_name(), q_opts()) -> ok. +-spec modify_queue(queue_name(), q_opts()) -> ok | {error, any()}. %% modify_queue(Name, Options) -> call(?SERVER, {modify_queue, Name, Options}).
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor