Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test pr #1

Closed
wants to merge 32 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
87362f1
delete logging
joshuabezaleel May 12, 2022
50248bc
TODO: FileLinks
joshuabezaleel May 12, 2022
b7a4599
In Progress: Add Files group endpoint
joshuabezaleel May 12, 2022
1a423f8
Move Timestamp to osf.go
joshuabezaleel May 12, 2022
c2ee13e
Add example for file, fix jsonapi structtag ID
joshuabezaleel May 12, 2022
60cfbb4
strip jsonapi lib + implement own response model with generics
azaky May 13, 2022
d2f248b
use mapstructure for unmarshaling FileLinks
azaky May 13, 2022
b3dff1c
complete Links and Relationships objects + build function
azaky May 13, 2022
0649900
add missing buildFile
azaky May 13, 2022
9529109
IN PROGRESS: Download file
joshuabezaleel May 13, 2022
612a74f
IN PROGRESS: Download file
joshuabezaleel May 13, 2022
b422b92
Resolve conflict
joshuabezaleel May 13, 2022
0141e18
Download File
joshuabezaleel May 13, 2022
8eabc39
implement list preprints providers
azaky May 15, 2022
82e8680
Enable filter query params for list endpoint
joshuabezaleel May 15, 2022
606e198
Add test for Preprints_List
joshuabezaleel May 15, 2022
f50fd9f
Remove Citations for now
joshuabezaleel May 15, 2022
a67f9e5
Add test for Files.GetFileByID
joshuabezaleel May 15, 2022
7283827
implement create preprints
azaky May 15, 2022
c983829
add update preprints
azaky May 15, 2022
675cfe8
add get preprints primary files
azaky May 15, 2022
337f55a
add readme
azaky May 15, 2022
968bd38
add license
azaky May 16, 2022
d0b3b0a
inject pagination meta into ManyPayload
azaky May 16, 2022
09baeb5
remove debug
azaky May 16, 2022
6ff6e13
cleanup
azaky May 16, 2022
9fa961a
update examples
azaky May 16, 2022
70060a5
add docs
azaky May 16, 2022
0951271
bump to v0.0.3
azaky May 16, 2022
b07b705
add github actions
azaky May 16, 2022
6df235e
add tests badge
azaky May 16, 2022
0cea967
test change pr branch
joshuabezaleel Jun 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add github actions
  • Loading branch information
azaky committed May 16, 2022
commit b07b7051bebd9a86fcd52829ea0574975d1ac855
26 changes: 26 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
push:
branches:
- main
pull_request:
branches:
- main

name: tests

jobs:
test:
strategy:
matrix:
go-version: [1.18.x]
platform: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }}

steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3

- name: Run go test
run: go test -v -race -covermode atomic ./...